From 66a63597f1be6ed3e51142695418b1ea2bf8e809 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Fri, 17 Jul 2020 11:18:35 +0100 Subject: [PATCH] Use appversion_nobuild in 'Release Notes' URL --- EDMarketConnector.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/EDMarketConnector.py b/EDMarketConnector.py index 5505b124..51061b99 100755 --- a/EDMarketConnector.py +++ b/EDMarketConnector.py @@ -17,7 +17,7 @@ import _strptime # Workaround for http://bugs.python.org/issue7980 from calendar import timegm import webbrowser -from config import appname, applongname, appversion, copyright, config +from config import appname, applongname, appversion, appversion_nobuild, copyright, config if getattr(sys, 'frozen', False): # Under py2exe sys.path[0] is the executable name @@ -737,7 +737,10 @@ class AppWindow(object): row += 1 self.appversion_label = tk.Label(frame, text=appversion) self.appversion_label.grid(row=row, column=0, sticky=tk.E) - self.appversion = HyperlinkLabel(frame, compoun=tk.RIGHT, text=_('Release Notes'), url='https://github.com/EDCD/EDMarketConnector/releases/tag/Release/{VERSION}'.format(VERSION=appversion), underline=True) + self.appversion = HyperlinkLabel(frame, compoun=tk.RIGHT, text=_('Release Notes'), + url='https://github.com/EDCD/EDMarketConnector/releases/tag/Release/{VERSION}'.format( + VERSION=appversion_nobuild), + underline=True) self.appversion.grid(row=row, column=2, sticky=tk.W) row += 1 ############################################################