diff options
author | zoidberg10 <zoidberg@mujmail.cz> | 2011-12-14 11:04:37 +0100 |
---|---|---|
committer | zoidberg10 <zoidberg@mujmail.cz> | 2011-12-14 11:04:37 +0100 |
commit | 3ea047d62952880cf9e6ade8b255d9796586cb0a (patch) | |
tree | 523a27905ae33035019b9c7e30cd8a953201eb51 /pyLoadCore.py | |
parent | setup error msg (diff) | |
download | pyload-3ea047d62952880cf9e6ade8b255d9796586cb0a.tar.xz |
fix console encoding on nt
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-x | pyLoadCore.py | 6 |
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" |