From 44e55178ddb488e7613e955532a755345f5ace83 Mon Sep 17 00:00:00 2001 From: "St.Huang" Date: Mon, 30 Jul 2018 22:51:13 +0800 Subject: [PATCH] updater fixes. --- .gitignore | 2 +- addons/fastwq/libs/ankihub.py | 2 +- addons21/fastwq/libs/ankihub.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 164e016..0566fba 100644 --- a/.gitignore +++ b/.gitignore @@ -112,4 +112,4 @@ User*/ *.pyc release*.zip README.txt -.fastwq.ankihub.json \ No newline at end of file +.fastwq_*_ankihub.json \ No newline at end of file diff --git a/addons/fastwq/libs/ankihub.py b/addons/fastwq/libs/ankihub.py index 2dadabc..1b0fd7c 100644 --- a/addons/fastwq/libs/ankihub.py +++ b/addons/fastwq/libs/ankihub.py @@ -42,7 +42,7 @@ def defaultBase(): headers = {"User-Agent": "AnkiHub"} -dataPath = os.path.join(defaultBase(),'.fastwq.ankihub.json') +dataPath = os.path.join(defaultBase(),'.fastwq_2.0.x_ankihub.json') class DialogUpdates(QtGui.QDialog, Ui_DialogUpdates): diff --git a/addons21/fastwq/libs/ankihub.py b/addons21/fastwq/libs/ankihub.py index c9f7d43..b5253dd 100644 --- a/addons21/fastwq/libs/ankihub.py +++ b/addons21/fastwq/libs/ankihub.py @@ -48,7 +48,7 @@ def defaultBase(): headers = {"User-Agent": "AnkiHub"} -dataPath = os.path.join(defaultBase(),'.fastwq.ankihub.json') +dataPath = os.path.join(defaultBase(),'.fastwq_2.1.x_ankihub.json') class DialogUpdates(QDialog, Ui_DialogUpdates):