summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-04-10 13:37:02 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-06-28 02:51:58 +0200
commit2ff2fb0495febe11d5015d2308d67e1d8048e597 (patch)
tree2ae9d1da4a701fc6b3945ccc32dfbbf102b9c85a /pyLoadCore.py
parentLocalization badge (diff)
downloadpyload-2ff2fb0495febe11d5015d2308d67e1d8048e597.tar.xz
Some code cosmetics about commas, spaces and quotes
Merges #577
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index 7311ec573..56e196497 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -292,7 +292,7 @@ class Core(object):
gettext.setpaths([join(os.sep, "usr", "share", "pyload", "locale"), None])
translation = gettext.translation("pyLoad", self.path("locale"),
- languages=[self.config['general']['language'],"en"],fallback=True)
+ languages=[self.config['general']['language'], "en"], fallback=True)
translation.install(True)
self.debug = self.doDebug or self.config['general']['debug_mode']
@@ -567,7 +567,7 @@ class Core(object):
self.shutdown()
chdir(owd)
# close some open fds
- for i in range(3,50):
+ for i in range(3, 50):
try:
close(i)
except :