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
|
||||
|
||||
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
|
||||
except:
|
||||
print 'The unitfile can not be opened or found'
|
||||
|
|
Loading…
Reference in a new issue