comparison web/config.py @ 393:afce71f829d6

- 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 c0ffbfaac1c7
children 51d889ad39a3
comparison
equal deleted inserted replaced
392:1a5f2449f760 393:afce71f829d6
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