]> git.parisson.com Git - teleforma.git/commitdiff
fix host
authoryomguy <yomguy@parisson.com>
Wed, 5 Dec 2012 17:38:20 +0000 (18:38 +0100)
committeryomguy <yomguy@parisson.com>
Wed, 5 Dec 2012 17:38:20 +0000 (18:38 +0100)
teleforma/context_processors.py

index eb099a0b3fb8de777759e328f376417ef5fc1b94..28e3b000707209bb28c53d0377bdef4a2c8ad9ab 100644 (file)
@@ -23,7 +23,7 @@ def get_local_host():
                 local_ip = ip
                 break
         except:
-               pass
+               continue
 
     if not local_ip:
         local_ip = '127.0.0.1'