summaryrefslogtreecommitdiff
path: root/.local/share/Anki2/addons21/advanced_review/__init__.py
blob: b4f483fa6d1b7e4d200b74c0a7f0bfe4efc41e02 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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