mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
import hooks later in init so setup.py doesn't break
This commit is contained in:
parent
a528f71d5c
commit
4c47468974
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,6 @@
|
|||
import os, sys, shutil
|
||||
from PyQt4.QtCore import *
|
||||
from PyQt4.QtGui import *
|
||||
from anki.hooks import runHook
|
||||
|
||||
appName="Anki"
|
||||
appVersion="0.9.9.7.3"
|
||||
|
@ -75,6 +74,7 @@ class AnkiApp(QApplication):
|
|||
|
||||
def run():
|
||||
import config
|
||||
from anki.hooks import runHook
|
||||
|
||||
# home on win32 is broken
|
||||
if sys.platform == "win32":
|
||||
|
|
Loading…
Reference in a new issue