summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2011-12-14 11:04:37 +0100
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2011-12-14 11:04:37 +0100
commit3ea047d62952880cf9e6ade8b255d9796586cb0a (patch)
tree523a27905ae33035019b9c7e30cd8a953201eb51 /pyLoadCore.py
parentsetup error msg (diff)
downloadpyload-3ea047d62952880cf9e6ade8b255d9796586cb0a.tar.xz
fix console encoding on nt
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index aa8e649a9..25d623df6 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -18,9 +18,9 @@
@author: sebnapi
@author: RaNaN
@author: mkaay
- @version: v0.4.8
+ @version: v0.4.9
"""
-CURRENT_VERSION = '0.4.8'
+CURRENT_VERSION = '0.4.9'
import __builtin__
@@ -58,7 +58,7 @@ from module.utils import freeSpace, formatSize
from codecs import getwriter
if os.name == "nt":
- enc = "cp850"
+ enc = sys.stdout.encoding
else:
enc = "utf8"