don't die if suppressUpdate unset

This commit is contained in:
Damien Elmes 2013-02-20 08:27:26 +09:00
parent d05331d31c
commit c80d1209e6

View File

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