summaryrefslogtreecommitdiffstats
path: root/pyLoadCli.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-19 20:12:46 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-19 20:12:46 +0100
commit3f0051bdb3e126f8ef92505435cf3b880d13671a (patch)
treed7ff85a6c605ad46e531d116272ffe5ca3c31d16 /pyLoadCli.py
parentfixes last commit (diff)
downloadpyload-3f0051bdb3e126f8ef92505435cf3b880d13671a.tar.xz
fixed cli unicode error
Diffstat (limited to 'pyLoadCli.py')
-rwxr-xr-xpyLoadCli.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/pyLoadCli.py b/pyLoadCli.py
index dc22f8d3b..923978bf5 100755
--- a/pyLoadCli.py
+++ b/pyLoadCli.py
@@ -481,25 +481,25 @@ class _GetchMacCarbon:
return chr(msg)
def blue(string):
- return "\033[1;34m" + str(string) + "\033[0m"
+ return "\033[1;34m" + unicode(string) + "\033[0m"
def green(string):
- return "\033[1;32m" + str(string) + "\033[0m"
+ return "\033[1;32m" + unicode(string) + "\033[0m"
def yellow(string):
- return "\033[1;33m" + str(string) + "\033[0m"
+ return "\033[1;33m" + unicode(string) + "\033[0m"
def red(string):
- return "\033[1;31m" + str(string) + "\033[0m"
+ return "\033[1;31m" + unicode(string) + "\033[0m"
def cyan(string):
- return "\033[1;36m" + str(string) + "\033[0m"
+ return "\033[1;36m" + unicode(string) + "\033[0m"
def mag(string):
- return "\033[1;35m" + str(string) + "\033[0m"
+ return "\033[1;35m" + unicode(string) + "\033[0m"
def white(string):
- return "\033[1;37m" + str(string) + "\033[0m"
+ return "\033[1;37m" + unicode(string) + "\033[0m"
def print_help():
print