diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-01-26 21:23:16 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-01-26 21:23:16 +0100 |
commit | 769f156ea822d4520620727dc1317224a02bdaaa (patch) | |
tree | 7413f3129f839a1a01c0754c0a845a8154c711ca /pyLoadCore.py | |
parent | Added tag v0.3 for changeset e848797046d9 (diff) | |
download | pyload-769f156ea822d4520620727dc1317224a02bdaaa.tar.xz |
extended script support
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-x | pyLoadCore.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py index 9a9c0d6ff..7aa38b9b1 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -104,7 +104,7 @@ class Core(object): self.do_kill = False
self.do_restart = False
- translation = gettext.translation("pyLoad", "locale", languages=[self.config['general']['language']])
+ translation = gettext.translation("pyLoad", join(self.path, "locale"), languages=[self.config['general']['language']])
translation.install(unicode=True)
self.check_install("Crypto", "pycrypto to decode container files")
@@ -347,10 +347,10 @@ class Core(object): self.last_update_check = time.time()
def install_update(self):
- if self.config['updates']['search_updates']: + if self.config['updates']['search_updates']:
if self.core.config['updates']['install_updates']:
- version_check = Request().load("http://get.pyload.org/get/update/%s/" % (CURRENT_VERSION, )) - else: + version_check = Request().load("http://get.pyload.org/get/update/%s/" % (CURRENT_VERSION, ))
+ else:
version_check = Request().load("http://get.pyload.org/check/%s/" % (CURRENT_VERSION, ))
if version_check == "":
return False
|