From c8c3dcc52dbce81118bc169b6267e703ceabdfc1 Mon Sep 17 00:00:00 2001 From: Scott Date: Tue, 6 Dec 2016 01:03:46 -0600 Subject: [PATCH] Moves credentials to praw.ini --- praw.ini.example | 20 +++++++------------- shreddit.yml.example | 7 ------- shreddit/shreddit.yml.example | 7 ------- 3 files changed, 7 insertions(+), 27 deletions(-) diff --git a/praw.ini.example b/praw.ini.example index 3f608b5..47ee85e 100644 --- a/praw.ini.example +++ b/praw.ini.example @@ -1,13 +1,7 @@ -[DEFAULT] -# Will be deprecated sometime in 2015 (probably) -user = -pswd = - -## OAuth2 settings: -# Client / Secret from your own app -oauth_client_id = -oauth_client_secret = -# Corresponds with the callback URL in the Reddit app -oauth_redirect_uri = http://127.0.0.1:65010 -log_requests = 0 -# After running get_secret.py you should find your auth ID below +# Credentials go here. Fill out default, or provide one or more names and call shreddit with the -u option to specify +# which set to use. +[default] +client_id= +client_secret= +username= +password= diff --git a/shreddit.yml.example b/shreddit.yml.example index 0637304..ddb6a64 100644 --- a/shreddit.yml.example +++ b/shreddit.yml.example @@ -1,11 +1,4 @@ --- -# Credentials go here. If you are unsure what to put in client_id and client_secret, please consult the README for more -# information. -client_id: -client_secret: -username: -password: - # How many hours of comments you want to keep # 24 hours in a day, # 168 hours in a week, diff --git a/shreddit/shreddit.yml.example b/shreddit/shreddit.yml.example index 0637304..ddb6a64 100644 --- a/shreddit/shreddit.yml.example +++ b/shreddit/shreddit.yml.example @@ -1,11 +1,4 @@ --- -# Credentials go here. If you are unsure what to put in client_id and client_secret, please consult the README for more -# information. -client_id: -client_secret: -username: -password: - # How many hours of comments you want to keep # 24 hours in a day, # 168 hours in a week,