diff options
Diffstat (limited to 'src/configgen.py')
-rwxr-xr-x | src/configgen.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/configgen.py b/src/configgen.py index d02eafd..5af201f 100755 --- a/src/configgen.py +++ b/src/configgen.py @@ -12,6 +12,7 @@ # input used in their production; they are not affected by this license. # import xml.dom.minidom +import sys from xml.dom import minidom, Node def addValues(var,node): @@ -110,7 +111,7 @@ def parseGroups(node): def main(): - doc = xml.dom.minidom.parse("config.xml") + doc = xml.dom.minidom.parse(sys.argv[1]) elem = doc.documentElement print "/* WARNING: This file is generated!" print " * Do not edit this file, but edit config.xml instead and run" |