removing colors from DEBUG when in windows

This commit is contained in:
Nikos Kouremenos 2005-05-15 19:19:00 +00:00
parent 9a36ba4063
commit 9dcf2d0e79
1 changed files with 3 additions and 1 deletions

View File

@ -72,7 +72,9 @@ color_white = chr(27) + "[37;1m"
if os.name == 'nt':
for colorname in colornames:
name = 'color_' + colorname
name = ''
mod = compile('%s = \'\'' % name, 'gajim', 'exec')
res = eval(mod)
print res
"""
Define your flags in yor modules like this: