cardmaker: fixed chuni endless loading

This commit is contained in:
Dniel97 2023-03-28 01:09:16 +02:00
parent 2a290f2a3d
commit 541fe76a7c
Signed by untrusted user: Dniel97
GPG Key ID: 6180B3C768FB2E08

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