diff --git a/src/img/dupa.JPG b/src/img/dupa.JPG new file mode 100644 index 0000000..a74a125 Binary files /dev/null and b/src/img/dupa.JPG differ diff --git a/src/img/sim-game20.JPG b/src/img/sim-game20.JPG index beea1d0..45cdb59 100644 Binary files a/src/img/sim-game20.JPG and b/src/img/sim-game20.JPG differ diff --git a/src/img/sim-game21.JPG b/src/img/sim-game21.JPG index a546d12..1911a21 100644 Binary files a/src/img/sim-game21.JPG and b/src/img/sim-game21.JPG differ diff --git a/src/main.py b/src/main.py index df25950..561d962 100644 --- a/src/main.py +++ b/src/main.py @@ -638,10 +638,13 @@ def sign_all(fivestars=0): time.sleep(0.5) if fivestars: turn_down(fivestars) - if int(recognize('scouts').split('/')[0]) == int(fivestars): - press_B() - logger.info('No scouts left or only skipped left. Sign all script finished, going back') - break + try: + if int(recognize('scouts').split('/')[0]) == int(fivestars): + press_B() + logger.info('No scouts left or only skipped left. Sign all script finished, going back') + break + except: + logger.error(f'Something went wrong during scouts signing. Make sure you have at least {fivestars} scouts') if isok('sign/confirm.JPG', 9): press_A() if isok('sign/chosed-trainer.JPG', 9):