Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit dd59f23

Browse files
committed
fix: cmd exit
1 parent c8533c1 commit dd59f23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Server/main_cmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def main():
216216
command = text.strip()
217217
if command[0] == "/":
218218
command = command[1:].split(" ")
219-
if command[0] == "exit" or "q":
219+
if command[0] == "exit" or command[0] == "q":
220220
os._exit(0)
221221
elif command[0] == "new":
222222
newConversation(openassistant)

0 commit comments

Comments
 (0)