From b3eae2b7056ab0fe172b7affdc15097b0b8cce0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81dler=20Neves?= Date: Fri, 29 Dec 2017 21:19:13 -0200 Subject: [PATCH] initial commit --- README.md | 28 ++++++++++++++++++++++++++++ reddit_imgs/runner.py | 2 -- 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..84c31e3 --- /dev/null +++ b/README.md @@ -0,0 +1,28 @@ +# Reddit Image Wall Getter + +## Why? + +Pr0n + +## How do I install the requirements? + +Install Python 3.x from the site or from your package distribution (in this case, install python3-pip too) + +#### Linux + +`sudo python3 -m pip install -r requirements.txt` + +#### Windows + +`python -m pip install -r requirements.txt` + +## How do I run it? + +#### Windows + +Double-click `redditgetter.py`. + +#### Linux + +Open a terminal and run `./redditgetter.py` + diff --git a/reddit_imgs/runner.py b/reddit_imgs/runner.py index ad52f3c..1608d03 100755 --- a/reddit_imgs/runner.py +++ b/reddit_imgs/runner.py @@ -10,8 +10,6 @@ import shutil wdir = os.path.abspath('.') def ensureFolderAvailability(): - if not os.path.exists(os.path.join(wdir,'a')): - os.makedirs(os.path.join(wdir,'a')) if not os.path.exists(os.path.join(wdir,'d')): os.makedirs(os.path.join(wdir,'d')) if not os.path.exists(os.path.join(wdir,'i')):