diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2020-03-10 21:38:39 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2020-03-10 21:38:39 +0100 |
commit | 7651560a2d075e7f68d2323d88cec52af873d6fc (patch) | |
tree | 44774deefec4e6c1fdf2fd7fea14d4403f2d97ad /instance | |
parent | fixed issues reported by flake8. (diff) | |
download | newspipe-7651560a2d075e7f68d2323d88cec52af873d6fc.tar.gz newspipe-7651560a2d075e7f68d2323d88cec52af873d6fc.tar.bz2 newspipe-7651560a2d075e7f68d2323d88cec52af873d6fc.zip |
added a way to specify a configuration file via an environment variable
Diffstat (limited to 'instance')
-rw-r--r-- | instance/production.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/instance/production.py b/instance/production.py index 7fd59916..e5c43190 100644 --- a/instance/production.py +++ b/instance/production.py @@ -44,7 +44,7 @@ MAIL_PASSWORD = None MAIL_DEFAULT_SENDER = "admin@admin.localhost" # Misc -BASE_DIR = os.path.abspath(os.path.dirname('.')) +BASE_DIR = os.path.abspath(os.path.dirname(".")) LANGUAGES = {"en": "English", "fr": "French"} TIME_ZONE = {"en": "US/Eastern", "fr": "Europe/Paris"} ADMIN_EMAIL = "admin@admin.localhost" |