comparison web/config.py @ 87:81b8c84344c4

- log more details - less silly way to load localconfig
author Matt Johnston <matt@ucc.asn.au>
date Thu, 12 Jul 2012 23:44:20 +0800
parents ccce79dcb316
children 51d889ad39a3
comparison
equal deleted inserted replaced
86:6c18e0d12276 87:81b8c84344c4
33 33
34 # determine by zooming in an image viewer 34 # determine by zooming in an image viewer
35 GRAPH_LEFT_MARGIN = 63 35 GRAPH_LEFT_MARGIN = 63
36 36
37 try: 37 try:
38 import localconfig 38 from localconfig import *
39 g = globals()
40 for k in dir(localconfig):
41 if k in g:
42 g[k] = localconfig.__dict__[k]
43 except ImportError: 39 except ImportError:
44 pass 40 pass