From ce155953227d35a1b0194133defc33d5fbd4fa66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Wed, 5 Jul 2023 21:13:01 +0200 Subject: [PATCH] add example config, change default db name --- example_config.yaml | 3 +++ hanabi/constants.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 example_config.yaml diff --git a/example_config.yaml b/example_config.yaml new file mode 100644 index 0000000..02d8712 --- /dev/null +++ b/example_config.yaml @@ -0,0 +1,3 @@ +dbname: hanab-live +dbuser: hanabi +dbpass: null diff --git a/hanabi/constants.py b/hanabi/constants.py index 93d7a1a..60e7c28 100644 --- a/hanabi/constants.py +++ b/hanabi/constants.py @@ -9,7 +9,7 @@ COLOR_INITIALS = 'rygbpt' PLAYER_NAMES = ["Alice", "Bob", "Cathy", "Donald", "Emily", "Frank"] # DB connection parameters -DEFAULT_DB_NAME = 'hanabi-live' +DEFAULT_DB_NAME = 'hanab-live' DEFAULT_DB_USER = 'hanabi'