Fixed throttled_providers.dat reset

This commit is contained in:
Alex Meyer 2024-05-30 22:16:24 -04:00 committed by GitHub
parent b7e6de71ff
commit 77302fad21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -496,7 +496,7 @@ def get_throttled_providers():
except Exception:
# set empty content in throttled_providers.dat
logging.error("Invalid content in throttled_providers.dat. Resetting")
set_throttled_providers(providers)
set_throttled_providers(str(providers))
finally:
return providers