Explorar el Código

Update app.py

haha hace 3 años
padre
commit
7f681a971b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      web/app.py

+ 1 - 1
web/app.py

@@ -33,7 +33,7 @@ def judge():
     data = json.loads(requestData)
     code = data['code']
     language = data['language']
-    cid = data['commitId']
+    cid = str(data['commitId'])
     time_limit = int(data['timeLimit'])
     memory_limit = int(data['memoryLimit'])
     input_list = data['inputList']