minor fixes

This commit is contained in:
Alex Yatskov 2017-02-19 15:02:09 -08:00
parent fb17be7ab8
commit 4dac6596cc

View File

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