From 4dac6596ccaf90c81e83a1aedfb866b8f6df0c09 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 19 Feb 2017 15:02:09 -0800 Subject: [PATCH] minor fixes --- AnkiConnect.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/AnkiConnect.py b/AnkiConnect.py index c36b813..fc306ab 100644 --- a/AnkiConnect.py +++ b/AnkiConnect.py @@ -507,8 +507,10 @@ class AnkiConnect: path = os.path.splitext(__file__)[0] + '.py' with open(path, 'w') as fp: fp.write(makeStr(data)) - QMessageBox.information(self.anki.window(), 'AnkiConnect', 'Upgraded to the latest version.') + QMessageBox.information(self.anki.window(), 'AnkiConnect', 'Upgraded to the latest version, please restart Anki.') + return True + return False def api_version(self): return API_VERSION