mertbozkurt commited on
Commit
b1f181a
·
1 Parent(s): ce922e7

Update screen/screen_scan.py

Browse files
Files changed (1) hide show
  1. screen/screen_scan.py +3 -3
screen/screen_scan.py CHANGED
@@ -87,9 +87,9 @@ def screen_scan_main():
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))
95
 
 
87
  #image_show(resim_list)
88
  if len(wrong_ans[0]) == 0:
89
  wrong_ans[0] = "0"
90
+ #
91
+ for i in wrong_ans:
92
+ wrong_ans_str = ','.join(str(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))
95