1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

This is getting worse and worse

This commit is contained in:
krateng 2023-03-31 14:50:53 +02:00
parent 924d4718db
commit 2c44745abc

View File

@ -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