summaryrefslogtreecommitdiffstats
path: root/module/plugins/container
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-10 01:55:52 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-10 01:55:52 +0100
commit7beb65e991bc6d1913c3b5bb2ef69e659d5b8342 (patch)
treee076082f6cb799a820eee287c47f24f082b3a41c /module/plugins/container
parent[DDLMusicOrg] Removed (diff)
downloadpyload-7beb65e991bc6d1913c3b5bb2ef69e659d5b8342.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/container')
-rw-r--r--module/plugins/container/TXT.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/container/TXT.py b/module/plugins/container/TXT.py
index 98ca426d7..d419ee060 100644
--- a/module/plugins/container/TXT.py
+++ b/module/plugins/container/TXT.py
@@ -23,7 +23,7 @@ class TXT(Container):
def decrypt(self, pyfile):
try:
- encoding = codecs.lookup(self.getConfig("encoding")).name
+ encoding = codecs.lookup(self.getConfig('encoding')).name
except Exception:
encoding = "utf-8"
@@ -57,7 +57,7 @@ class TXT(Container):
if not value:
packages.pop(key, None)
- if self.getConfig("flush"):
+ if self.getConfig('flush'):
try:
txt = open(fs_filename, 'wb')
txt.close()