diff options
author | 2014-01-20 19:32:44 +0100 | |
---|---|---|
committer | 2014-01-20 19:32:44 +0100 | |
commit | 27c1654d4f5889ec9c634537e32018b4a52eed52 (patch) | |
tree | 9437d5a563821597cb85bb6fa14c494f08bc100f /pyload/Core.py | |
parent | fixed py 2.5 incompatibility (diff) | |
download | pyload-27c1654d4f5889ec9c634537e32018b4a52eed52.tar.xz |
fixed new waiting dl rule
Diffstat (limited to 'pyload/Core.py')
-rw-r--r-- | pyload/Core.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pyload/Core.py b/pyload/Core.py index 04a77f45f..f921188c5 100644 --- a/pyload/Core.py +++ b/pyload/Core.py @@ -36,6 +36,7 @@ from time import time, sleep from traceback import print_exc import locale + locale.locale_alias = locale.windows_locale = {} #save ~100kb ram, no known sideeffects for now import subprocess @@ -43,6 +44,7 @@ import subprocess subprocess.__doc__ = None # the module with the largest doc we are using from InitHomeDir import init_dir + init_dir() from AccountManager import AccountManager @@ -533,6 +535,7 @@ class Core(object): if os.name == "nt": try: import colorama + colorama.init() except: color = False @@ -591,8 +594,8 @@ class Core(object): pass # TODO: quit webserver? # self.webserver.quit() - self.dlm.abort() self.dlm.shutdown() + self.api.stopAllDownloads() self.addonManager.deactivateAddons() except: |