cardmaker: fixed chuni endless loading

pull/16/head
Dniel97 2023-03-28 01:09:16 +02:00
parent 2a290f2a3d
commit 541fe76a7c
No known key found for this signature in database
GPG Key ID: 6180B3C768FB2E08
1 changed files with 2 additions and 2 deletions

View File

@ -269,10 +269,10 @@ class ChuniNew(ChuniBase):
tmp = user_print_list[x]._asdict()
print_list.append(tmp["cardId"])
if len(user_print_list) >= max_ct:
if len(print_list) >= max_ct:
break
if len(user_print_list) >= max_ct:
if len(print_list) >= max_ct:
next_idx = next_idx + max_ct
else:
next_idx = -1