mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
ignore incorrect clock in dev mode
This commit is contained in:
parent
e9fdb5600c
commit
9feccc785f
1 changed files with 3 additions and 0 deletions
|
@ -1219,6 +1219,9 @@ title="%s" %s>%s</button>""" % (
|
|||
aqt.update.showMessages(self, data)
|
||||
|
||||
def clockIsOff(self, diff):
|
||||
if devMode:
|
||||
print("clock is off; ignoring")
|
||||
return
|
||||
diffText = ngettext("%s second", "%s seconds", diff) % diff
|
||||
warn = (
|
||||
_(
|
||||
|
|
Loading…
Reference in a new issue