Skip to content

Commit

Permalink
Fix the ChangeModelDialog import for note_model #28
Browse files Browse the repository at this point in the history
  • Loading branch information
Stvad committed Jul 7, 2018
1 parent 3473999 commit a6ef0a9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions crowd_anki/representation/note_model.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
from collections import namedtuple

try:
from crowd_anki.anki_overrides.change_model_dialog import ChangeModelDialog
except ImportError:
# need this to decouple it from pyqt. To simplify running of the tests with Travis
print("Failed to import ChangeModelDialog")
from ..anki_overrides.change_model_dialog import ChangeModelDialog

from ..utils import utils
from .json_serializable import JsonSerializableAnkiDict
Expand Down

0 comments on commit a6ef0a9

Please sign in to comment.