From 96449f0505569881aca0002d9d5386ce27b748d7 Mon Sep 17 00:00:00 2001 From: yomguy Date: Wed, 5 Dec 2012 18:49:41 +0100 Subject: [PATCH] fix ip --- teleforma/context_processors.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/teleforma/context_processors.py b/teleforma/context_processors.py index fc5a0595..64aea0f4 100644 --- a/teleforma/context_processors.py +++ b/teleforma/context_processors.py @@ -23,10 +23,7 @@ def get_local_host(): local_ip = ip break except: - continue - - if not local_ip: - local_ip = '127.0.0.1' + local_ip = '127.0.0.1' return local_ip -- 2.39.5