diff options
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
|