summaryrefslogtreecommitdiff
path: root/.local/share/Anki2/addons21/advanced_review/__init__.py
diff options
context:
space:
mode:
authorThanosApollo <[email protected]>2022-09-01 07:46:56 +0300
committerThanosApollo <[email protected]>2022-09-01 07:46:56 +0300
commit95853bb603efacc9890f2b86bd28b0377e448ee5 (patch)
treeb787556e8f94151d67cce064af5614978eec3888 /.local/share/Anki2/addons21/advanced_review/__init__.py
parent0c89df9be987008e55c1b336489c41290653434b (diff)
Re-add anki addons
Diffstat (limited to '.local/share/Anki2/addons21/advanced_review/__init__.py')
-rw-r--r--.local/share/Anki2/addons21/advanced_review/__init__.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/.local/share/Anki2/addons21/advanced_review/__init__.py b/.local/share/Anki2/addons21/advanced_review/__init__.py
new file mode 100644
index 0000000..b4f483f
--- /dev/null
+++ b/.local/share/Anki2/addons21/advanced_review/__init__.py
@@ -0,0 +1,19 @@
+#// auth_ Mohamad Janati
+#// Copyright (c) 2019-2021 Mohamad Janati (freaking stupid, right? :|)
+
+from aqt import mw
+from anki import version
+from anki.collection import _Collection
+config = mw.addonManager.getConfig(__name__)
+button_colors = config[' Button Colors']
+reviewTooltip = config['Tooltip']
+
+anki_version = int(version.replace('.', ''))
+from . import Bottom_Bar
+from . import Settings
+from . import Deck_Overview
+if reviewTooltip:
+ from . import Tooltip
+
+if button_colors:
+ from . import Button_Colors