From: <tre...@us...> - 2009-09-09 07:23:26
|
Revision: 274 http://spd.svn.sourceforge.net/spd/?rev=274&view=rev Author: treibholz Date: 2009-09-09 07:23:13 +0000 (Wed, 09 Sep 2009) Log Message: ----------- fixed a unicode-bug Modified Paths: -------------- trunk/src/spdCLI.py trunk/src/spdCore.py Modified: trunk/src/spdCLI.py =================================================================== --- trunk/src/spdCLI.py 2009-09-08 20:42:34 UTC (rev 273) +++ trunk/src/spdCLI.py 2009-09-09 07:23:13 UTC (rev 274) @@ -1,3 +1,4 @@ +# -*- coding: UTF-8 -*- import sys import platform @@ -62,8 +63,8 @@ output += self.colorFG[self.config["passwordFG"]] + self.colorBG[self.config["passwordBG"]] output += table[j][i] output += self.colorReset - else: - output += str(table[j][i]) + else: + output += unicode(table[j][i]) print output print "" Modified: trunk/src/spdCore.py =================================================================== --- trunk/src/spdCore.py 2009-09-08 20:42:34 UTC (rev 273) +++ trunk/src/spdCore.py 2009-09-09 07:23:13 UTC (rev 274) @@ -1,3 +1,4 @@ +# -*- coding: UTF-8 -*- ''' Copyright (C) 2009 Klaus Umbach {{{ <tre...@us...> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |