diff web/config.py @ 390:c0ffbfaac1c7

fix localconfig import
author Matt Johnston <matt@ucc.asn.au>
date Wed, 11 Jul 2012 23:38:36 +0800
parents 5e3880342390
children 81b8c84344c4
line wrap: on
line diff
--- a/web/config.py	Wed Jul 11 23:37:13 2012 +0800
+++ b/web/config.py	Wed Jul 11 23:38:36 2012 +0800
@@ -37,8 +37,8 @@
 try:
     import localconfig
     g = globals()
-    for k in dir(other):
+    for k in dir(localconfig):
         if k in g:
-            g[k] = other.__dict__[k]
+            g[k] = localconfig.__dict__[k]
 except ImportError:
     pass