Commit 645e065f authored by gijs's avatar gijs
Browse files

Dealing with ratelimit error.

parent e4edc55d
......@@ -747,8 +747,8 @@ def makeBackup (request):
else:
zip_file.writestr(filename, str(r.status_code))
time.sleep(5)
time.sleep(2)
zip_buffer.seek(0)
response = FileResponse(zip_buffer, as_attachment=True, filename='ethertof-backup.zip')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment