修改批量收录新题的一个bug
This commit is contained in:
parent
a6e4976220
commit
6dbd676d3f
|
|
@ -63,7 +63,7 @@ class MyWindow_bdsl(QWidget,Ui_Form):
|
||||||
psrstring = "rep"+id+","
|
psrstring = "rep"+id+","
|
||||||
elif simrate > 0.5:
|
elif simrate > 0.5:
|
||||||
psrstring += id + ","
|
psrstring += id + ","
|
||||||
if psrstring[-1] == ",":
|
if len(psrstring) > 0 and psrstring[-1] == ",":
|
||||||
psrstring = psrstring[:-1]
|
psrstring = psrstring[:-1]
|
||||||
if len(psrstring) > 0:
|
if len(psrstring) > 0:
|
||||||
output += f"\\item [{psrstring}] {p}\n\n"
|
output += f"\\item [{psrstring}] {p}\n\n"
|
||||||
|
|
|
||||||
Reference in New Issue