Skip to content

Commit

Permalink
fix not cloning single file after sa gets used up
Browse files Browse the repository at this point in the history
  • Loading branch information
jsmsj committed Feb 11, 2023
1 parent f59196d commit 2bd8fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/_gd_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def copyFile(self, file_id, dest_id):
if reason == 'userRateLimitExceeded' or reason == 'dailyLimitExceeded':
if self.use_sa:
self.switchSaIndex()
self.copyFile(file_id, dest_id)
return self.copyFile(file_id, dest_id)
else:
logger.debug(reason)
raise IndexError(reason)
Expand Down

0 comments on commit 2bd8fc6

Please sign in to comment.