From 95853bb603efacc9890f2b86bd28b0377e448ee5 Mon Sep 17 00:00:00 2001 From: ThanosApollo Date: Thu, 1 Sep 2022 07:46:56 +0300 Subject: Re-add anki addons --- .../share/Anki2/addons21/advanced_review/__init__.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .local/share/Anki2/addons21/advanced_review/__init__.py (limited to '.local/share/Anki2/addons21/advanced_review/__init__.py') 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 -- cgit v1.2.3