Callum Leslie
555754ed05
Merge pull request #241 from elebumm/default-env-values
...
Add default values for environment variables
3 years ago
Callum Leslie
37f22b8b01
Ignore r/ in environment subreddit names
3 years ago
Callum Leslie
cd5924562f
Ignore r/ in subreddit names
3 years ago
Callum Leslie
d39386178b
Clean up imports
3 years ago
Callum Leslie
87d2112812
Move to casefold
3 years ago
Callum Leslie
ccd0c60d87
Add default values for environment variables
...
This should reduce errors by some values not being set in the .env file - namely 2FA and Theme
3 years ago
Lewis Menelaws
49c1a89658
Fixed merge Issues
3 years ago
Lewis Menelaws
3742f11e87
Merge branch 'master' into master
3 years ago
Lewis Menelaws
45e3a11440
Refactored for easier merging and fixed dependencies.
3 years ago
Lewis Menelaws
9bb116793a
Updated the .env.template to be a little easier to deal with.
3 years ago
reoccurcat
6742a53889
overhaul
3 years ago
Owen Gaspard
4f4616a49f
Console outputs subreddit
...
Console will output the specified subreddit that you chose in .env if any
3 years ago
Owen Gaspard
22b31bc71a
Removed some files
...
Removed unnecessary pycache files and askreddit.py
Co-Authored-By: Aziz Mejri <zizou.aziz101@gmail.com>
3 years ago
owengaspard
f12f0da76d
Change AET var to string, NameError to ValueError
...
Python was giving errors with TRUE as a bool, so I changed it to a string. Giving an undefined name returned a different error than I put in the except, so I edited it and ran some tests which were successful. I will work on implementing something to detect if the subreddit exists and if it includes anything (e.g. special characters) which cannot be in subreddit names.
3 years ago
owengaspard
b1e1d07c8b
.env bool "ASK_EACH_TIME"
...
Define whether or not you want to be asked each time what subreddit to pull from. Also, I ticked the box on the README.
3 years ago
owengaspard
10ce9cac58
Polishing up
...
Fixed misspelling. Issue appears differently in provided screenshot.
3 years ago
owengaspard
8ec61b8fe2
Subreddit picker - .env
...
Alternatively, you can specify which subreddit to pull from in the .env file.
3 years ago
owengaspard
5f9bbfc22c
Fix misspellings
3 years ago
owengaspard
b2bcb28f8f
Subreddit chooser (TEST)
...
Allows user to choose a subreddit to pull from by taking user input. I will work on adding it to the .env file.
3 years ago
Lewis Menelaws
ce14eff286
Initial commit
3 years ago