summaryrefslogtreecommitdiffstats
path: root/tupkg/server/tupkgs
diff options
context:
space:
mode:
authorjchu <jchu>2005-01-23 23:30:54 +0000
committerjchu <jchu>2005-01-23 23:30:54 +0000
commita243a78f5a38c5bcbf0402738a6b3e2ece71218e (patch)
tree10c0155ebe3670745817ad6bc0e3cee699cde817 /tupkg/server/tupkgs
parent9c0af6358a0fdb68ceadbf54bbd825ddabdda902 (diff)
downloadaurweb-a243a78f5a38c5bcbf0402738a6b3e2ece71218e.tar.xz
made the config dict accessible everywhere
Diffstat (limited to 'tupkg/server/tupkgs')
-rwxr-xr-xtupkg/server/tupkgs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tupkg/server/tupkgs b/tupkg/server/tupkgs
index 83925d2..b3a967c 100755
--- a/tupkg/server/tupkgs
+++ b/tupkg/server/tupkgs
@@ -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: