mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
use standard timer if no session limit set, update more decks link
This commit is contained in:
parent
20982c8b93
commit
ef998cdf2e
2 changed files with 3 additions and 2 deletions
|
@ -13,7 +13,7 @@ appHelpSite="http://ichi2.net/anki/wiki/AnkiWiki"
|
|||
appIssueTracker="http://code.google.com/p/anki/issues/list"
|
||||
appForum="http://groups.google.com/group/ankisrs/topics"
|
||||
appReleaseNotes="http://ichi2.net/anki/download/index.html#changes"
|
||||
appMoreDecks="http://ichi2.net/anki/wiki/ExtraDecks"
|
||||
appMoreDecks="http://ichi2.net/anki/wiki/PreMadeDecks"
|
||||
appDonate="http://ichi2.net/anki/donate.html"
|
||||
|
||||
modDir=os.path.dirname(os.path.abspath(__file__))
|
||||
|
|
|
@ -233,7 +233,8 @@ You should aim to answer each question within<br>
|
|||
return
|
||||
if self.main.deck and self.main.state in ("showQuestion", "showAnswer"):
|
||||
if self.main.currentCard:
|
||||
if self.main.deck.sessionStartTime:
|
||||
if (self.main.deck.sessionStartTime and
|
||||
self.main.deck.sessionTimeLimit):
|
||||
t = time.time() - self.main.deck.sessionStartTime
|
||||
t = self.main.deck.sessionTimeLimit - t
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue