From fce2a5ba0d45138cfba06f2ef6f390b10e4e5cda Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Tue, 23 May 2023 12:51:47 +0200 Subject: [PATCH] Adding version freeze for changelog --- LogarithmPlotter/util/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LogarithmPlotter/util/helper.py b/LogarithmPlotter/util/helper.py index 8cf7891..8b28ecc 100644 --- a/LogarithmPlotter/util/helper.py +++ b/LogarithmPlotter/util/helper.py @@ -40,7 +40,7 @@ class ChangelogFetcher(QRunnable): msg_text = "Unknown changelog error." try: # Fetching version - r = urlopen("https://api.ad5001.eu/changelog/logarithmplotter/") + r = urlopen("https://api.ad5001.eu/changelog/logarithmplotter/?version=" + __VERSION__) lines = r.readlines() r.close() msg_text = "".join(map(lambda x: x.decode('utf-8'), lines)).strip()