This commit is contained in:
2022-01-20 14:03:07 +00:00
parent 90a84e2020
commit 34f62943d5

View File

@@ -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)