future imports must go at top
This commit is contained in:
parent
13cbade4a3
commit
c8fd2e2f87
@ -2,6 +2,7 @@
|
||||
# Copyright: Damien Elmes <anki@ichi2.net>
|
||||
# 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."
|
||||
|
@ -1,6 +1,7 @@
|
||||
# Copyright: Damien Elmes <anki@ichi2.net>
|
||||
# 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
|
||||
######################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user