Skip to content

Commit 0d69688

Browse files
committed
Make link platform-specific
It didn't work on windows in current state
1 parent ac6ccd0 commit 0d69688

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

gui/mainFrame.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,11 @@ def ShowAboutBox(self, evt):
245245
"\nwxPython: \t" + wx.__version__ +
246246
"\nSQLAlchemy: \t" + sqlalchemy.__version__,
247247
700, wx.ClientDC(self))
248-
info.WebSite = ("http://forums.eveonline.com/default.aspx?g=posts&t=247609", "pyfa thread at EVE Online forum")
248+
if "__WXGTK__" in wx.PlatformInfo:
249+
forumUrl = "http://forums.eveonline.com/default.aspx?g=posts&t=247609"
250+
else:
251+
forumUrl = "http://forums.eveonline.com/default.aspx?g=posts&t=247609"
252+
info.WebSite = (forumUrl, "pyfa thread at EVE Online forum")
249253
wx.AboutBox(info)
250254

251255

0 commit comments

Comments
 (0)