path to the unit.xml file modified
git-svn-id: http://www.neo1973-germany.de/svn@147 46df4e5c-bc4e-4628-a0fc-830ba316316d
This commit is contained in:
parent
c9d612d5c7
commit
6964213a2b
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ import xml.dom.minidom
|
||||||
from sys import exit
|
from sys import exit
|
||||||
|
|
||||||
try:
|
try:
|
||||||
unitfile = 'unit.xml' # path to the unit file
|
unitfile = '/usr/share/unitc/unit.xml' # path to the unit file
|
||||||
file = xml.dom.minidom.parse(unitfile) # parse the xml file
|
file = xml.dom.minidom.parse(unitfile) # parse the xml file
|
||||||
except:
|
except:
|
||||||
print 'The unitfile can not be opened or found'
|
print 'The unitfile can not be opened or found'
|
||||||
|
|
Loading…
Reference in a new issue