Bugfix in case commandline text is empty.

This commit is contained in:
Cas Cremers 2014-06-10 14:54:28 +01:00
parent f1f2f28f61
commit 4f252d55a7

View File

@ -295,6 +295,7 @@ class XMLReader(object):
elif event.tag == 'system':
attack.match = int(event.find('match').text)
for term in event.find('commandline'):
if term.text != None:
if attack.commandline != '':
attack.commandline += ' '
attack.commandline += term.text