From 75faa5c949275df12019555dad0e831b19e56024 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Wed, 1 May 2019 12:16:09 +0200 Subject: [PATCH] Fixed syntax error. Missing wrapping dict --- transatlanticTorrentExpress.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transatlanticTorrentExpress.py b/transatlanticTorrentExpress.py index 1a46618..f153b46 100755 --- a/transatlanticTorrentExpress.py +++ b/transatlanticTorrentExpress.py @@ -61,7 +61,7 @@ def removeFromDeluge(execScript, files): for file in files: file = file.split('/')[-1] - logger.info('Removing {} from deluge'.format(file), es="filename": file) + logger.info('Removing {} from deluge'.format(file), es={"filename": file}) cmd = "{} {} rm '{}'".format(execPython, execScript, file) delugeProcess = Popen(cmd, stdout=PIPE, stderr=PIPE, shell=True)