made the config dict accessible everywhere

This commit is contained in:
jchu 2005-01-23 23:30:54 +00:00
parent 9c0af6358a
commit a243a78f5a

View file

@ -234,12 +234,12 @@ def getDefaultConfig():
return confdict
confdict = getDefaultConfig()
def main(argv=None):
if argv is None:
argv = sys.argv
confdict = getDefaultConfig()
try:
optlist, args = getopt.getopt(argv[1:], "c:", ["config="])
except getopt.GetoptError: