You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's a rare case, but if a user doesn't have a site, the platform crashes! Because there's a zero division here
Traceback (most recent call last):
File "/home/mateo/pyronear/platform/pyro-platform/app/main.py", line 655, in manage_login_modal
lat = latitudes / len(response_sites)
ZeroDivisionError: division by zero
The text was updated successfully, but these errors were encountered:
It's a rare case, but if a user doesn't have a site, the platform crashes! Because there's a zero division here
The text was updated successfully, but these errors were encountered: