.
This commit is contained in:
@@ -8,11 +8,11 @@ log = logging.getLogger(__name__)
|
||||
|
||||
def __is_process(cmd:str, arr):
|
||||
item = " ".join(arr)
|
||||
log.info("[onlyone][startprocess] -> " + item + "ends with " + cmd)
|
||||
log.info("[onlyone][startprocess] -> " + item + " ends with " + cmd)
|
||||
if(item.endswith(cmd)):
|
||||
return True
|
||||
|
||||
log.info("[onlyone][startprocess] -> " + item + "ends with " + cmd.replace("\"", ""))
|
||||
log.info("[onlyone][startprocess] -> " + item + " ends with " + cmd.replace("\"", ""))
|
||||
if(item.endswith(cmd.replace("\"", ""))):
|
||||
return True
|
||||
log.info("[onlyone][startprocess] -> " + item + " eq " + cmd)
|
||||
|
||||
Reference in New Issue
Block a user