fix chatmanger bug
This commit is contained in:
@@ -33,7 +33,6 @@ def desktop(user_uuid, course_id, chapter_name, lesson_name):
|
|||||||
print(f"Error creating directory {path_dir} details {str(e)}")
|
print(f"Error creating directory {path_dir} details {str(e)}")
|
||||||
|
|
||||||
chatmanager = ChatManager()
|
chatmanager = ChatManager()
|
||||||
chatmanager.init(user_uuid, user_id, path_dir)
|
|
||||||
current_app.extensions["user_uuid2chatmanager"][user_uuid] = chatmanager
|
current_app.extensions["user_uuid2chatmanager"][user_uuid] = chatmanager
|
||||||
code_server_port = 10000 + int(uuid.uuid4().int % 10000)
|
code_server_port = 10000 + int(uuid.uuid4().int % 10000)
|
||||||
chatmanager.start_code_server(user_uuid, user_id, path_dir, code_server_port)
|
chatmanager.start_code_server(user_uuid, user_id, path_dir, code_server_port)
|
||||||
|
|||||||
Reference in New Issue
Block a user