Fixed throttled_providers.dat reset

pull/2544/head v1.4.3
Alex Meyer 4 months ago committed by GitHub
parent b7e6de71ff
commit 77302fad21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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

Loading…
Cancel
Save