changeset 84:ccce79dcb316

fix localconfig import
author Matt Johnston <matt@ucc.asn.au>
date Wed, 11 Jul 2012 23:38:36 +0800
parents b9179968a272
children 3cd1ca6d0489
files web/config.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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