openmedialibrary/oml/state.py

14 lines
214 B
Python
Raw Normal View History

2014-05-04 17:26:43 +00:00
websockets = []
nodes = False
tasks = False
2014-05-04 17:26:43 +00:00
main = None
online = False
2014-05-19 18:12:02 +00:00
host = None
2014-05-04 17:26:43 +00:00
2014-05-17 00:14:15 +00:00
activity = {}
2014-05-04 17:26:43 +00:00
def user():
import settings
import user.models
return user.models.User.get_or_create(settings.USER_ID)