diff --git "a/app.py" "b/app.py" --- "a/app.py" +++ "b/app.py" @@ -19,8 +19,6 @@ def init_db(): }, f, indent=4) def read_db(): - if not os.path.exists(DB_FILE): - return {"users": {}, "chatrooms": {}, "messages": {}} with open(DB_FILE, 'r') as f: return json.load(f) @@ -45,15 +43,15 @@ def index(): @@ -701,111 +701,127 @@ def index():
-
- -
-
-
-
-

Чаты

- -
- -
-
-
+ -
-
- TON Symbol -

Выберите чат

-

Начните общение в одном из существующих чатов или создайте свой собственный.

-
-