Should not check in next loop if failed once.

This commit is contained in:
limkokhole
2022-01-19 19:33:04 +08:00
parent 7e9ad7bf4d
commit dd7159350e

View File

@@ -1096,7 +1096,7 @@ Please ensure your username/boardname/[section] or link has media item.\n') )
# print('before img: ' + repr(img['id'])) # print('before img: ' + repr(img['id']))
reach_lastest_pin = False reach_lastest_pin = False
if not arg_rescrape: if not arg_rescrape and sorted_api:
img_prev = 0 img_prev = 0
on_hold_break = False on_hold_break = False
for img_round_i, img in enumerate(imgs_round): for img_round_i, img in enumerate(imgs_round):