flake8 compliance

This commit is contained in:
Julien Almarcha 2016-06-12 20:45:12 +02:00
parent d5dbf38acb
commit bd3a61c0ce

View File

@ -51,7 +51,7 @@ INSTALLED_APPS += ('debug_toolbar', )
INTERNAL_IPS = ['127.0.0.1', '10.0.2.2', ]
# tricks to have debug toolbar when developing with docker
if os.environ.get('USE_DOCKER') == 'yes' :
if os.environ.get('USE_DOCKER') == 'yes':
ip = socket.gethostbyname(socket.gethostname())
INTERNAL_IPS += [ip[:-1]+"1"]