Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -324,7 +324,6 @@ def process_tick():
|
|
| 324 |
|
| 325 |
if not xsrf or not bip:
|
| 326 |
logger.warning("Skipping check: Please configure XSRF_TOKEN and BIP_SESSION in the deployment environment.")
|
| 327 |
-
import os
|
| 328 |
os._exit(1)
|
| 329 |
|
| 330 |
# Task 1: Load state if we just started
|
|
@@ -344,7 +343,6 @@ def process_tick():
|
|
| 344 |
is_html=True
|
| 345 |
)
|
| 346 |
logger.error("Notifier is shutting down completely because of the scraping error.")
|
| 347 |
-
import os
|
| 348 |
os._exit(1)
|
| 349 |
|
| 350 |
if new_events:
|
|
|
|
| 324 |
|
| 325 |
if not xsrf or not bip:
|
| 326 |
logger.warning("Skipping check: Please configure XSRF_TOKEN and BIP_SESSION in the deployment environment.")
|
|
|
|
| 327 |
os._exit(1)
|
| 328 |
|
| 329 |
# Task 1: Load state if we just started
|
|
|
|
| 343 |
is_html=True
|
| 344 |
)
|
| 345 |
logger.error("Notifier is shutting down completely because of the scraping error.")
|
|
|
|
| 346 |
os._exit(1)
|
| 347 |
|
| 348 |
if new_events:
|