summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
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