Kaynağa Gözat

Update app.py

haha 3 yıl önce
ebeveyn
işleme
7f681a971b
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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']