summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-12-14 17:27:59 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-12-14 17:27:59 +0100
commit72e06ea42a02d68627839017f124cfd883623e77 (patch)
treeb5e2cad30c5fe484a1dee86d59fe2298934577d9 /pyLoadCore.py
parentcp65001 is broken (diff)
downloadpyload-72e06ea42a02d68627839017f124cfd883623e77.tar.xz
pyLoad 0.4.9
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 e43c4bcf8..e6b539097 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -53,11 +53,11 @@ from module import remote
from module.remote.RemoteManager import RemoteManager
from module.database import DatabaseBackend, FileHandler
-from module.utils import freeSpace, formatSize, getConsoleEncoding
+from module.utils import freeSpace, formatSize, get_console_encoding
from codecs import getwriter
-enc = getConsoleEncoding(sys.stdout.encoding)
+enc = get_console_encoding(sys.stdout.encoding)
sys.stdout = getwriter(enc)(sys.stdout, errors="replace")
# TODO List