version.py
changeset 1846 14b40afccd69
parent 1803 da138c5a3063
child 1881 091005ec69c4
equal deleted inserted replaced
1845:3abde7651c38 1846:14b40afccd69
   109     )
   109     )
   110 
   110 
   111     # read license file
   111     # read license file
   112     path = paths.AbsDir(__file__)
   112     path = paths.AbsDir(__file__)
   113     license_path = os.path.join(path, "COPYING")
   113     license_path = os.path.join(path, "COPYING")
   114     license = ''
       
   115     if os.path.exists(license_path):
   114     if os.path.exists(license_path):
   116         with open(license_path) as f:
   115         with open(license_path) as f:
   117             info.License += f.read()
   116             info.License += f.read()
   118 
   117 
   119     info.Icon = wx.Icon(os.path.join(path, "images", "about_brz_logo.png"), wx.BITMAP_TYPE_PNG)
   118     info.Icon = wx.Icon(os.path.join(path, "images", "about_brz_logo.png"), wx.BITMAP_TYPE_PNG)