16 lines
256 B
Python
16 lines
256 B
Python
websockets = []
|
|
nodes = False
|
|
tasks = False
|
|
main = None
|
|
online = False
|
|
host = None
|
|
|
|
activity = {}
|
|
|
|
def user():
|
|
import settings
|
|
import user.models
|
|
return user.models.User.get_or_create(settings.USER_ID)
|
|
|
|
from threading import local
|
|
db = local()
|