diff --git a/aqt/reviewer.py b/aqt/reviewer.py index d0c22ba0e..d63f077eb 100644 --- a/aqt/reviewer.py +++ b/aqt/reviewer.py @@ -12,6 +12,7 @@ from anki.sound import playFromText, clearAudioQueue, play from aqt.utils import mungeQA, getBase, openLink, tooltip from aqt.sound import getAudio import aqt +from __future__ import division class Reviewer(object): "Manage reviews. Maintains a separate state." diff --git a/aqt/sync.py b/aqt/sync.py index 4f8159c04..55ac7206a 100644 --- a/aqt/sync.py +++ b/aqt/sync.py @@ -9,6 +9,7 @@ from anki.sync import Syncer, RemoteServer, FullSyncer, MediaSyncer, \ RemoteMediaServer from anki.hooks import addHook, remHook from aqt.utils import tooltip, askUserDialog, showWarning, showText, showInfo +from __future__ import division # Sync manager ######################################################################