From 6dc323f42bfed2999a723535d3d90edffa3b3dba Mon Sep 17 00:00:00 2001 From: Dan6erbond Date: Wed, 26 Jun 2019 17:39:06 +0200 Subject: [PATCH 1/2] Update config.py --- config.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/config.py b/config.py index 348ffe9..510d779 100644 --- a/config.py +++ b/config.py @@ -1,7 +1,7 @@ -config = dict( - subreddit="mredinlaw_bot_testing", # Subreddit - comment_text="Demo Text", # Text the bot should comment - votes=20, # Used for comments.py - score=-2, # Used for votes.py - minutes=180 # Used in both -) +config = { + "subreddit": "mredinlaw_bot_testing", # Subreddit + "comment_text": "Demo Text", # Text the bot should comment + "votes": 20, # Used for comments.py + "score": -2, # Used for votes.py + "minutes": 180 # Used in both +} From 51e3f3d4c28607f91bc524f792c8f680b16d5f32 Mon Sep 17 00:00:00 2001 From: Dan6erbond Date: Wed, 26 Jun 2019 17:41:06 +0200 Subject: [PATCH 2/2] using native python dictionary syntax --- keys.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/keys.py b/keys.py index a7125bc..90973d9 100644 --- a/keys.py +++ b/keys.py @@ -1,7 +1,7 @@ -keys = dict( - client_id="", - client_secret="", - user_agent="", - username="", - password="", -) +keys = { + "client_id": "", + "client_secret": "", + "user_agent": "", + "username": "", + "password": "" +}