Adding version freeze for changelog
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Ad5001 2023-05-23 12:51:47 +02:00
parent 3904dc0217
commit fce2a5ba0d
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160

View file

@ -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()