|
|
@ -32,10 +32,7 @@ def feed(): |
|
|
|
return [x.id for x in reddit.subreddit(subs).hot()] |
|
|
|
return [x.id for x in reddit.subreddit(subs).hot()] |
|
|
|
except KeyboardInterrupt: |
|
|
|
except KeyboardInterrupt: |
|
|
|
raise |
|
|
|
raise |
|
|
|
except PRAWException as e: |
|
|
|
except BaseException as e: |
|
|
|
logging.critical('Problem hitting reddit API: {}'.format(str(e))) |
|
|
|
|
|
|
|
return [] |
|
|
|
|
|
|
|
except PrawcoreException as e: |
|
|
|
|
|
|
|
logging.critical('Problem hitting reddit API: {}'.format(str(e))) |
|
|
|
logging.critical('Problem hitting reddit API: {}'.format(str(e))) |
|
|
|
return [] |
|
|
|
return [] |
|
|
|
|
|
|
|
|
|
|
|