Skip to content

Commit

Permalink
Updated dependencies and python version support
Browse files Browse the repository at this point in the history
  • Loading branch information
Kandeel4411 committed Jan 26, 2022
1 parent bc45ab4 commit d8d793d
Show file tree
Hide file tree
Showing 5 changed files with 114 additions and 95 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,5 @@ venv.bak/
# editor
.vscode/


# redditwallpaperbot
images/
157 changes: 85 additions & 72 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A Bot for Reddit that gets top Hot sorted picture from a given Subreddit and set
Windows, Mac and Linux(Ubuntu, Linux Mint)

## Prerequisite
* Must have python3.6+ installed.
* Must have python3.7+ installed.

## Installation: :hammer:

Expand Down
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def get_subreddit(reddit, name):
subreddit = reddit.subreddit(name)

# Exception thrown when name is empty string
except TypeError as e:
except (TypeError, ValueError) as e:
print(
"Error: Invalid Subreddit."
" Please try again with valid Subreddit.\n"
Expand Down
45 changes: 25 additions & 20 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
atomicwrites==1.3.0
attrs==19.1.0
certifi==2019.3.9
chardet==3.0.4
colorama==0.4.1
distro==1.4.0
idna==2.8
importlib-metadata==0.9
more-itertools==7.0.0
pluggy==0.10.0
praw==6.2.0
prawcore==1.0.1
py==1.8.0
pytest==4.4.1
requests==2.21.0
six==1.12.0
update-checker==0.16
urllib3==1.24.3
websocket-client==0.56.0
zipp==0.4.0
attrs==21.4.0
autopep8==1.6.0
certifi==2021.10.8
chardet==4.0.0
charset-normalizer==2.0.10
distro==1.6.0
idna==3.3
importlib-metadata==4.10.1
iniconfig==1.1.1
packaging==21.3
pep8==1.7.1
pluggy==1.0.0
praw==7.5.0
prawcore==2.3.0
py==1.11.0
pycodestyle==2.8.0
pyparsing==3.0.7
pytest==6.2.5
requests==2.27.1
toml==0.10.2
typing_extensions==4.0.1
update-checker==0.18.0
urllib3==1.26.8
websocket-client==1.2.3
zipp==3.7.0

0 comments on commit d8d793d

Please sign in to comment.