Skip to content

Commit 14cfad8

Browse files
mikekgfbmalfet
authored andcommitted
single not double quotes because json needs double quotes for keywords (#406)
1 parent b898af0 commit 14cfad8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchchat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128

129129
# Construct arguments for the flask app minus 'browser' command
130130
# plus '--chat'
131-
args_plus_chat = ['"{}"'.format(s) for s in sys.argv[1:] if s != "browser"] + [
131+
args_plus_chat = ["'{}'".format(s) for s in sys.argv[1:] if s != "browser"] + [
132132
'"--chat"'
133133
]
134134
formatted_args = ", ".join(args_plus_chat)

0 commit comments

Comments
 (0)