minor fixes
This commit is contained in:
parent
fb17be7ab8
commit
4dac6596cc
@ -507,8 +507,10 @@ class AnkiConnect:
|
|||||||
path = os.path.splitext(__file__)[0] + '.py'
|
path = os.path.splitext(__file__)[0] + '.py'
|
||||||
with open(path, 'w') as fp:
|
with open(path, 'w') as fp:
|
||||||
fp.write(makeStr(data))
|
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):
|
def api_version(self):
|
||||||
return API_VERSION
|
return API_VERSION
|
||||||
|
Loading…
Reference in New Issue
Block a user