summaryrefslogtreecommitdiff
path: root/jfr_playoff/db.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-02-20 12:00:27 +0100
committeremkael <emkael@tlen.pl>2018-02-20 12:00:27 +0100
commitb62dfa544bd1212dd84512043abd129e59240792 (patch)
tree8ce87624c08f464d5a2045461d192f1fac9baad1 /jfr_playoff/db.py
parentf5c15f61592454e75aec384592f5d0c7f9ff1b07 (diff)
Database configuration is no longer mandatory, emitting warning if it's not provided
Diffstat (limited to 'jfr_playoff/db.py')
-rw-r--r--jfr_playoff/db.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/jfr_playoff/db.py b/jfr_playoff/db.py
index c96c95c..6825fd2 100644
--- a/jfr_playoff/db.py
+++ b/jfr_playoff/db.py
@@ -6,6 +6,7 @@ import mysql.connector
class PlayoffDB(object):
db_cursor = None
+ DATABASE_NOT_CONFIGURED_WARNING = 'WARNING: database not configured'
def __init__(self, settings):
reload(sys)