1
0
zrcadlo https://github.com/arsenetar/dupeguru.git synchronizováno 2026-03-30 18:31:39 +00:00

Remove line break from custom command log

Tento commit je obsažen v:
Marcus Yanello
2022-06-13 20:56:29 -05:00
odevzdal GitHub
rodič 22b2b6b110
revize d2195190a2

Zobrazit soubor

@@ -557,11 +557,11 @@ class DupeGuru(Broadcaster):
path, exename = op.split(exepath) path, exename = op.split(exepath)
p = subprocess.Popen(exename + args, shell=True, cwd=path, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) p = subprocess.Popen(exename + args, shell=True, cwd=path, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
output = p.stdout.read() output = p.stdout.read()
logging.info("Custom command %s %s:\n %s", exename, args, output) logging.info("Custom command %s %s: %s", exename, args, output)
else: else:
p = subprocess.Popen(dupe_cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) p = subprocess.Popen(dupe_cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
output = p.stdout.read() output = p.stdout.read()
logging.info("Custom command %s:\n %s", dupe_cmd, output) logging.info("Custom command %s: %s", dupe_cmd, output)
def load(self): def load(self):
"""Load directory selection and ignore list from files in appdata. """Load directory selection and ignore list from files in appdata.