On Mon, Feb 16, 2009 at 8:43 AM, d4ljoyn <[email protected]> wrote: > > --- C:\DOCUME~1\dave\LOCALS~1\Temp\SyntaxDialog.py- > revBASE.svn000.tmp.py Sun Feb 15 19:39:16 2009 > +++ C:\Devel\Win\ulipad\mixins\SyntaxDialog.py Sun Feb 15 19:26:16 > 2009 > @@ -165,9 +165,10 @@ > self.update = False > > def StrToRGB(self, string): > + a = 0,0,0 > if string: > a=int(string[5:7], 16), int(string[3:5], 16), int(string > [1:3], 16) > - return 0, 0, 0 > + return a > > def RGBToStr(self, rgb): > return '#%02X%02X%02X' % rgb >
Thanks, I've fixed it. -- I like python! UliPad <<The Python Editor>>: http://code.google.com/p/ulipad/ UliWeb <<simple web framework>>: http://uliwebproject.appspot.com My Blog: http://hi.baidu.com/limodou
