diff --git a/oauth_test.py b/oauth_check.py similarity index 100% rename from oauth_test.py rename to oauth_check.py diff --git a/run.sh b/run.sh index b7b4f25..b2b49da 100755 --- a/run.sh +++ b/run.sh @@ -1,4 +1,8 @@ #!/usr/bin/env sh -source ./bin/activate +if [[ -f './bin/activate' ]]; then + source ./bin/activate +elif [[ -f '.venv/bin/activate' ]]; then + source '.venv/bin/activate' +fi pip install --upgrade praw python ./shreddit.py