Fix DB init
This commit is contained in:
parent
ad40f41628
commit
cdd0e6faa8
@ -12,6 +12,5 @@ def get_db():
|
|||||||
# Should be retrieved from config
|
# Should be retrieved from config
|
||||||
global DB
|
global DB
|
||||||
if DB is None:
|
if DB is None:
|
||||||
#DB = mapping['file_system']()
|
DB = mapping['cached_file_system']()
|
||||||
return mapping['cached_file_system']()
|
|
||||||
return DB
|
return DB
|
||||||
|
Loading…
Reference in New Issue
Block a user