diff --git a/maloja/database/__init__.py b/maloja/database/__init__.py index 0995496..184a437 100644 --- a/maloja/database/__init__.py +++ b/maloja/database/__init__.py @@ -1,6 +1,17 @@ # server from bottle import request, response, FormsDict + +# we're running an auxiliary task that doesn't require all the random background +# nonsense to be fired up +# this is temporary +# FIX YO DAMN ARCHITECTURE ALREADY +AUX_MODE = False +def set_aux_mode(): + global AUX_MODE + AUX_MODE = True + + # rest of the project from ..cleanup import CleanerAgent from .. import images @@ -45,14 +56,7 @@ dbstatus = { } -# we're running an auxiliary task that doesn't require all the random background -# nonsense to be fired up -# this is temporary -# FIX YO DAMN ARCHITECTURE ALREADY -AUX_MODE = False -def set_aux_mode(): - global AUX_MODE - AUX_MODE = True +