Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest Anki release fix #1

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixed pyqt version-dependent import
  • Loading branch information
Blackdeer1524 committed Nov 14, 2023
commit 98a5a0e56cd270368c716ec98875c71b1b4e6d0e
5 changes: 4 additions & 1 deletion src/cloze_overlapper/gui/forms/anki21/settings_global.py
Original file line number Diff line number Diff line change
@@ -8,7 +8,10 @@
# run again. Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets
try:
from PyQt5 import QtCore, QtGui, QtWidgets
except ImportError:
from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_Dialog(object):
6 changes: 4 additions & 2 deletions src/cloze_overlapper/gui/forms/anki21/settings_note.py
Original file line number Diff line number Diff line change
@@ -7,8 +7,10 @@
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets
try:
from PyQt5 import QtCore, QtGui, QtWidgets
except ImportError:
from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_Dialog(object):
5 changes: 4 additions & 1 deletion src/cloze_overlapper/gui/resources/anki21/icons_rc.py
Original file line number Diff line number Diff line change
@@ -6,7 +6,10 @@
#
# WARNING! All changes made in this file will be lost!

from PyQt6 import QtCore
try:
from PyQt5 import QtCore
except ImportError:
from PyQt6 import QtCore

qt_resource_data = b"\
\x00\x00\x08\xe2\
2 changes: 1 addition & 1 deletion src/cloze_overlapper/meta.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name": "Cloze Overlapper for Anki 21", "conflicts": ["969733775"], "homepage": "https://github.com/glutanimate/cloze-overlapper", "mod": 1610421170, "min_point_version": 28, "max_point_version": 38, "branch_index": 0, "disabled": false}
{"disabled": false, "mod": 1610421170, "conflicts": ["969733775"], "max_point_version": 38, "min_point_version": 28, "branch_index": 0, "update_enabled": true, "homepage": "https://github.com/glutanimate/cloze-overlapper", "name": "Cloze Overlapper for Anki 21"}