diff options
-rw-r--r-- | jfr_playoff/db.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jfr_playoff/db.py b/jfr_playoff/db.py index b85c5a4..0b7713d 100644 --- a/jfr_playoff/db.py +++ b/jfr_playoff/db.py @@ -16,7 +16,7 @@ class PlayoffDB(object): user=settings['user'], password=settings['pass'], host=settings['host'], - port=settings['port']) + port=settings.get('port', 3306)) PlayoffLogger.get('db').info('db settings: %s', settings) self.db_cursor = self.database.cursor(buffered=True) |