From e384ec7929039482e56698c8c0eb2d1a8a8e42c8 Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Sat, 29 Jan 2022 00:37:59 +0100 Subject: [PATCH] Fixing bugs with changelog fetching. --- LogarithmPlotter/helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LogarithmPlotter/helper.py b/LogarithmPlotter/helper.py index 8ca4cbf..90d838d 100644 --- a/LogarithmPlotter/helper.py +++ b/LogarithmPlotter/helper.py @@ -145,7 +145,7 @@ class Helper(QObject): @Slot() def fetchChangelog(self): - changelog_cache_path = path.join(path.dirname(path.realpath(__file__), "CHANGELOG.md")) + changelog_cache_path = path.join(path.dirname(path.realpath(__file__)), "CHANGELOG.md") if path.exists(changelog_cache_path): # We have a cached version of the changelog, for env that don't have access to the internet. f = open(changelog_cache_path); @@ -154,5 +154,5 @@ class Helper(QObject): else: # Fetch it from the internet. runnable = ChangelogFetcher(self) - ^QThreadPool.globalInstance().start(runnable) + QThreadPool.globalInstance().start(runnable)