mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
don't die if suppressUpdate unset
This commit is contained in:
parent
d05331d31c
commit
c80d1209e6
1 changed files with 1 additions and 1 deletions
|
@ -778,7 +778,7 @@ and check the statistics for a home deck instead."""))
|
|||
self.autoUpdate.start()
|
||||
|
||||
def newVerAvail(self, ver):
|
||||
if self.pm.meta['suppressUpdate'] != ver:
|
||||
if self.pm.meta.get('suppressUpdate', None) != ver:
|
||||
aqt.update.askAndUpdate(self, ver)
|
||||
|
||||
def newMsg(self, data):
|
||||
|
|
Loading…
Reference in a new issue