Skip to content

Commit ee94066

Browse files
committed
parse debug variable correctly
1 parent 79a1515 commit ee94066

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qr_service/settings/production.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from qr_service.settings.base import *
22

3-
DEBUG = bool(os.environ.get('DEBUG', False))
3+
DEBUG = bool(int(os.environ.get('DEBUG', 0)))
44

55
ALLOWED_HOSTS = ['*']
66

0 commit comments

Comments
 (0)