mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
make sure .db is initialized at start of profiles init
fixes File "aqt/profiles.pyc", line 253, in _loadMeta File "aqt/profiles.pyc", line 234, in recover AttributeError: 'ProfileManager' object has no attribute 'db'
This commit is contained in:
parent
c4fffdda92
commit
1d2afd1ab3
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ class ProfileManager(object):
|
|||
|
||||
def __init__(self, base=None, profile=None):
|
||||
self.name = None
|
||||
self.db = None
|
||||
# instantiate base folder
|
||||
if base:
|
||||
self.base = os.path.abspath(base)
|
||||
|
|
Loading…
Reference in a new issue