From: Digital X. <dig...@us...> - 2007-04-21 22:56:18
|
Update of /cvsroot/openrpg/openrpg1/orpg/gametree/nodehandlers In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv1196/orpg/gametree/nodehandlers Modified Files: forms.py Log Message: Fixed a bug that could cause a char sheet not to open if it contained an images, that didnt exist Index: forms.py =================================================================== RCS file: /cvsroot/openrpg/openrpg1/orpg/gametree/nodehandlers/forms.py,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -d -r1.51 -r1.52 *** forms.py 21 Feb 2007 16:00:27 -0000 1.51 --- forms.py 21 Apr 2007 22:56:17 -0000 1.52 *************** *** 816,820 **** img = img_helper().load_url(self.link.getAttribute("href")) #print img ! return wx.StaticBitmap(parent,-1,img,size= wx.Size(img.GetWidth(),img.GetHeight())) def tohtml(self): --- 816,822 ---- img = img_helper().load_url(self.link.getAttribute("href")) #print img ! if not img is None: ! return wx.StaticBitmap(parent,-1,img,size= wx.Size(img.GetWidth(),img.GetHeight())) ! return wx.EmptyBitmap(1, 1) def tohtml(self): |