diff --git a/aqt/reviewer.py b/aqt/reviewer.py index d63f077eb..6c8d2e38c 100644 --- a/aqt/reviewer.py +++ b/aqt/reviewer.py @@ -2,6 +2,7 @@ # Copyright: Damien Elmes # License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html +from __future__ import division import difflib, re, cgi import unicodedata as ucd import HTMLParser @@ -12,7 +13,6 @@ 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 55ac7206a..8fc35003c 100644 --- a/aqt/sync.py +++ b/aqt/sync.py @@ -1,6 +1,7 @@ # Copyright: Damien Elmes # License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html +from __future__ import division from aqt.qt import * import socket, time, traceback, gc import aqt @@ -9,7 +10,6 @@ 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 ######################################################################