]> git.saurik.com Git - wxWidgets.git/commitdiff
uncommented a try...except that I had removed for testing.
authorRobin Dunn <robin@alldunn.com>
Fri, 17 Sep 1999 15:43:05 +0000 (15:43 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 17 Sep 1999 15:43:05 +0000 (15:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/wxPython/lib/wxpTag.py

index a4f372ec3fa770d1d68516cc4e98fb723d4e5206..afdfd4c1beb1276da5dda853e4edd12946666efa 100644 (file)
@@ -208,13 +208,13 @@ class wxpTagHandler(wxHtmlWinTagHandler):
 
         # convert to wxColour
         elif value[0] == '#':
-            #try:
+            try:
                 red   = string.atoi('0x'+value[1:3], 16)
                 green = string.atoi('0x'+value[3:5], 16)
                 blue  = string.atoi('0x'+value[5:], 16)
                 value = wxColor(red, green, blue)
-            #except:
-            #    pass
+            except:
+                pass
 
         self.ctx.kwargs[name] = value
         return false