Fix DB init

This commit is contained in:
Przemyslaw Kaminski 2015-06-03 10:34:58 +02:00
parent ad40f41628
commit cdd0e6faa8

View File

@ -12,6 +12,5 @@ def get_db():
# Should be retrieved from config
global DB
if DB is None:
#DB = mapping['file_system']()
return mapping['cached_file_system']()
DB = mapping['cached_file_system']()
return DB