mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
made the config dict accessible everywhere
This commit is contained in:
parent
9c0af6358a
commit
a243a78f5a
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue