From 817073812c5075301360f5d9778412f2524ed3af Mon Sep 17 00:00:00 2001 From: Matt Date: Sun, 9 Aug 2020 15:54:56 -0500 Subject: [PATCH] Use specified section of auth.ini for each account. --- bin/311_ebooks.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/311_ebooks.py b/bin/311_ebooks.py index f005354..ac584a2 100644 --- a/bin/311_ebooks.py +++ b/bin/311_ebooks.py @@ -32,9 +32,9 @@ config = ConfigParser() config.read('auth.ini') # read values from a section -server = config.get('mastodon', 'server') -email = config.get('mastodon', 'email') -password = config.get('mastodon', 'password') +server = config.get('hackgfk_311_ebooks', 'server') +email = config.get('hackgfk_311_ebooks', 'email') +password = config.get('hackgfk_311_ebooks', 'password') # Register the app (once) if not os.path.isfile('hackgfk_311_ebooks_clientcred.secret'):