small fixes

pull/280/head
iaacornus 3 years ago
parent 866074f77e
commit c3aff9d1d0
No known key found for this signature in database
GPG Key ID: 281739AE7252598C

@ -50,7 +50,6 @@ def get_subreddit_threads(subreddit_):
subreddit = reddit.subreddit(re.sub(r"r\/", "", os.getenv("SUBREDDIT")))
else:
subreddit = reddit.subreddit("askreddit")
print_substep("Subreddit not defined. Using AskReddit.")
threads = subreddit.hot(limit=25)

@ -1,4 +1,3 @@
from re import M
from setuptools import setup, find_packages

@ -45,8 +45,6 @@ def download_background(background):
else: # if the link is not youtube link
raise ValueError
except (
ConnectionError,
FileNotFoundError,
ValueError
# add more exceptions
):

Loading…
Cancel
Save