Skip to content

Commit

Permalink
Stop Iter.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fillll committed Feb 1, 2024
1 parent cf8ff4a commit 6775cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reddit2telegram/supplier.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def submissions_safe(submissions):
try:
yield next(submissions)
except StopIteration:
break
raise StopIteration
except Exception as e:
long_sleep(2.818281828 * 3.14159 / 2)

Expand Down

0 comments on commit 6775cc2

Please sign in to comment.