simple changelog

This commit is contained in:
j 2017-06-03 22:50:14 +02:00
commit e966256fa2
15 changed files with 267 additions and 103 deletions

View file

@ -1,3 +1,5 @@
from threading import local
bandwidth = None
host = None
main = None
@ -12,13 +14,14 @@ shutdown = False
websockets = []
peers = {}
changelog_size = None
activity = {}
removepeer = {}
db = local()
def user():
import settings
import user.models
return user.models.User.get_or_create(settings.USER_ID)
from threading import local
db = local()