Spaces:
Runtime error
Runtime error
Commit
·
ce922e7
1
Parent(s):
f9dc001
Update screen/screen_scan.py
Browse files- screen/screen_scan.py +2 -0
screen/screen_scan.py
CHANGED
@@ -87,6 +87,8 @@ def screen_scan_main():
|
|
87 |
#image_show(resim_list)
|
88 |
if len(wrong_ans[0]) == 0:
|
89 |
wrong_ans[0] = "0"
|
|
|
|
|
90 |
wrong_ans_str = ','.join(wrong_ans[0])
|
91 |
new_data = make_new_data(sinav_kodu=exam_code, ogrenci_no=int(student_idFix),
|
92 |
notu=int(grading[0]),yanlislar=str(wrong_ans_str))
|
|
|
87 |
#image_show(resim_list)
|
88 |
if len(wrong_ans[0]) == 0:
|
89 |
wrong_ans[0] = "0"
|
90 |
+
else :
|
91 |
+
wrong_ans[0] = "0"
|
92 |
wrong_ans_str = ','.join(wrong_ans[0])
|
93 |
new_data = make_new_data(sinav_kodu=exam_code, ogrenci_no=int(student_idFix),
|
94 |
notu=int(grading[0]),yanlislar=str(wrong_ans_str))
|