From d5b487cb95099ffa8633c0d6d5a5017205d47b21 Mon Sep 17 00:00:00 2001 From: Will Date: Mon, 23 Nov 2015 10:00:43 +0000 Subject: [PATCH] add the config script needed to experiment with externalized configs currently only used by the add.py script --- configuration.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 configuration.py diff --git a/configuration.py b/configuration.py new file mode 100644 index 0000000..1fe864f --- /dev/null +++ b/configuration.py @@ -0,0 +1,15 @@ +#!/usr/bin/env python +# configuration.py +# description: This is the config script +# copyrigtht: 2015 William Patton - PattonWebz +# licence: GPLv3 +# @package: PWTwitterBot + +## enter the database connection information +dbconfig = { + 'user': 'bot-twitter', + 'password': 'someSecurePassword', + 'host': '127.0.0.1', + 'database': 'twitterbot', + 'raise_on_warnings': True, +}