summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-17 19:24:49 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-24 22:42:50 +0200
commit9305859b64a2f0aef3f27fb7e5b75caa0cb836a6 (patch)
treebdbb4710a4070131e1257a90a69abf4b6d080ee1 /module/plugins/internal
parentSpare code cosmetics (2) (diff)
downloadpyload-9305859b64a2f0aef3f27fb7e5b75caa0cb836a6.tar.xz
Spare code cosmetics (3)
Diffstat (limited to 'module/plugins/internal')
-rw-r--r--module/plugins/internal/SevenZip.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/SevenZip.py b/module/plugins/internal/SevenZip.py
index 7a79c278c..147ac6bd4 100644
--- a/module/plugins/internal/SevenZip.py
+++ b/module/plugins/internal/SevenZip.py
@@ -139,8 +139,8 @@ class SevenZip(UnRar):
args.append("-y")
#set a password
- if "password" in kwargs and kwargs["password"]:
- args.append("-p%s" % kwargs["password"])
+ if "password" in kwargs and kwargs['password']:
+ args.append("-p%s" % kwargs['password'])
else:
args.append("-p-")