Close all

This commit is contained in:
Ruud committed 2014-01-28 08:22:06 +01:00
1 parent 00b613d2e0
commit aab10fb599
16 files changed
+210 -170

No files matched your search

+2
View File
@@ -71,6 +71,7 @@ class ProfilePlugin(Plugin):
for profile in profiles:
temp.append(profile.to_dict(self.to_dict))
db.close()
return temp
def save(self, **kwargs):
@@ -127,6 +128,7 @@ class ProfilePlugin(Plugin):
.options(joinedload_all('types')) \
.first()
default_dict = default.to_dict(self.to_dict)
db.close()
return default_dict