From 1d2afd1ab3408175c3de22c940241f0adbda420b Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 9 Aug 2014 12:50:23 +0900 Subject: [PATCH] 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' --- aqt/profiles.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aqt/profiles.py b/aqt/profiles.py index 27009afe0..7301e1e4e 100644 --- a/aqt/profiles.py +++ b/aqt/profiles.py @@ -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)