23 lines
364 B
Python
23 lines
364 B
Python
bandwidth = None
|
|
host = None
|
|
main = None
|
|
nodes = False
|
|
node = False
|
|
online = False
|
|
tasks = False
|
|
downloads = False
|
|
tor = False
|
|
update = False
|
|
shutdown = False
|
|
websockets = []
|
|
|
|
activity = {}
|
|
removepeer = {}
|
|
|
|
def user():
|
|
import settings
|
|
import user.models
|
|
return user.models.User.get_or_create(settings.USER_ID)
|
|
|
|
from threading import local
|
|
db = local()
|