python syntax error

This commit is contained in:
Luc 2021-12-07 14:35:30 +01:00
parent 8965cf9e29
commit f9223e0bad
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ SECRET_KEY = str(os.getenv('DJANGO_SECRET_KEY', 'tubesync-django-secret'))
ALLOWED_HOSTS_STR = os.getenv('TUBESYNC_HOSTS', '')
if len(ALLOWED_HOSTS_STR) > 0
if len(ALLOWED_HOSTS_STR) > 0:
ALLOWED_HOSTS_STR += ','
ALLOWED_HOSTS_STR += '127.0.0.1,localhost,::1'