fix warning

This commit is contained in:
2025-06-07 17:30:03 +01:00
parent 29cba4dd9b
commit 9df7b66b80

View File

@@ -16,7 +16,7 @@ class Main():
def run_sys_cmd(self, cmd):
out, err = subprocess.Popen(cmd, stdin=None, stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
if err.decode() is not '':
if err.decode() != '':
raise SystemError(err.decode())
return out.decode()