Fixed error: don't raise on failure to post

master
Keith Irwin 2017-09-08 16:20:41 +00:00
parent 294f02cb7b
commit 4fa33b10ee
No known key found for this signature in database
GPG Key ID: 378933C743E2BBC0
1 changed files with 1 additions and 1 deletions

View File

@ -32,6 +32,6 @@ for comment in rall.stream.comments():
try:
post = sub.submit(needed.title(), url='https://www.reddit.com'+comment.permalink(), resubmit=False)
except:
print("Failed to post to our sub"); raise
print("Failed to post",comment.id,"to our sub")
else:
print("Posted to sub:",post.shortlink)