diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2017-04-07 13:21:08 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2017-04-07 13:21:08 +0200 |
commit | 9935e40ffa9d4c5ef90f9ebb0a0b85cc15de48de (patch) | |
tree | 17006ed5f9e9454588326488acd2a5911f2c337c /src | |
parent | no more submodule for bootstrap (diff) | |
download | newspipe-9935e40ffa9d4c5ef90f9ebb0a0b85cc15de48de.tar.gz newspipe-9935e40ffa9d4c5ef90f9ebb0a0b85cc15de48de.tar.bz2 newspipe-9935e40ffa9d4c5ef90f9ebb0a0b85cc15de48de.zip |
PLATFORM_URL is not required.
Diffstat (limited to 'src')
-rw-r--r-- | src/conf.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/conf.py b/src/conf.py index 70fde9c4..96040a87 100644 --- a/src/conf.py +++ b/src/conf.py @@ -76,7 +76,10 @@ WEBSERVER_SECRET = config.get('webserver', 'secret_key') CDN_ADDRESS = config.get('cdn', 'cdn_address') -PLATFORM_URL = config.get('misc', 'platform_url') +try: + PLATFORM_URL = config.get('misc', 'platform_url') +except: + PLATFORM_URL = "https://www.newspipe.org/" ADMIN_EMAIL = config.get('misc', 'admin_email') SELF_REGISTRATION = config.getboolean('misc', 'self_registration') SECURITY_PASSWORD_SALT = config.get('misc', 'security_password_salt') |