Skip to content

Commit

Permalink
Release v1.0.2
Browse files Browse the repository at this point in the history
ok this time i actually fixed it i promise
  • Loading branch information
itschasa committed Jun 8, 2022
1 parent ea02f79 commit d1c67d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import os
os.system("cls")
from startup import Setup
clnt = Setup("Backup", "v1.0.1")
clnt = Setup("Backup", "v1.0.2")

# local imports
import fetch_tokens, console, backup, restore
Expand Down
2 changes: 1 addition & 1 deletion restore.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def folders(self):
headers=self._headers("get", debugoptions=True, discordlocale=True, superprop=True, authorization=True)
)
if "You are being rate limited." in user_guilds_req.text:
self.c.warn(f"Rate Limited: {self.c.clnt.maincol}{r.json()['retry_after']} seconds{self.c.clnt.white}.")
self.c.warn(f"Rate Limited: {self.c.clnt.maincol}{user_guilds_req.json()['retry_after']} seconds{self.c.clnt.white}.")
time.sleep(user_guilds_req.json()["retry_after"])
else:
break
Expand Down

0 comments on commit d1c67d1

Please sign in to comment.