Skip to content

Commit

Permalink
Improved Long-Running Stability
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsrv committed Jun 6, 2021
1 parent 02f8a7a commit 995ffcf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Python](https://img.shields.io/badge/Made%20with-Python%203.x-blue.svg?style=flat-square&logo=Python&logoColor=white)](https://www.python.org/)
[![Selenium](https://img.shields.io/badge/Selenium-3.141.0-green.svg?style=flat-square&logo=Selenium&logoColor=white)](https://www.selenium.dev/)
[![Version](https://img.shields.io/badge/Version-0.45c-dc2f02.svg?style=flat-square&logoColor=white)](https://github.com/alfonsrv/impf-botpy)
[![Version](https://img.shields.io/badge/Version-0.46-dc2f02.svg?style=flat-square&logoColor=white)](https://github.com/alfonsrv/impf-botpy)

### Entspahnt in den Sommer ☀

Expand Down
2 changes: 1 addition & 1 deletion impf/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__author__ = 'alfonsrv'
__python__ = '3.x'
__version__ = '0.45c'
__version__ = '0.46'
__git__ = 'https://github.com/alfonsrv/impf-botpy'
__credits__ = 'https://github.com/TobseF/impf-bot'
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ def impf_me(location: dict):
x.reinit(**location)

# Continue with normal loop
x.control_main()
try: x.control_main()
except RecursionError: pass

logger.info(f'Waiting until {(datetime.now() + timedelta(seconds=settings.WAIT_LOCATIONS)).strftime("%H:%M:%S")} '
f'before checking the next location')
Expand Down

0 comments on commit 995ffcf

Please sign in to comment.