diff --git a/debian/changelog b/debian/changelog index 95a6097e0..619c907de 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +passbook (0.1.30) stable; urgency=medium + + * bump version: 0.1.28-beta -> 0.1.29-beta + * don't use context manager in web command + + -- Jens Langhammer Thu, 11 Apr 2019 12:21:58 +0000 + passbook (0.1.29) stable; urgency=medium * bump version: 0.1.27-beta -> 0.1.28-beta diff --git a/passbook/core/management/commands/web.py b/passbook/core/management/commands/web.py index fe5b157bd..5bd865adc 100644 --- a/passbook/core/management/commands/web.py +++ b/passbook/core/management/commands/web.py @@ -21,10 +21,9 @@ class Command(BaseCommand): def daphne_server(self): """Run daphne server within autoreload""" autoreload.raise_last_exception() - with CONFIG.cd('web'): - CommandLineInterface().run([ - '-p', str(CONFIG.get('port', 8000)), - '-b', CONFIG.get('listen', '0.0.0.0'), # nosec - '--access-log', '/dev/null', - 'passbook.core.asgi:application' - ]) + CommandLineInterface().run([ + '-p', str(CONFIG.y('web.port', 8000)), + '-b', CONFIG.y('web.listen', '0.0.0.0'), # nosec + '--access-log', '/dev/null', + 'passbook.core.asgi:application' + ])