Added .strip()

This commit is contained in:
Mariusz B 2018-05-02 01:58:50 +02:00
parent 823b622fb2
commit 8c23453c9f

View File

@ -428,7 +428,7 @@ def main(argv):
num = 0 num = 0
for cmd in config['command'].split(';'): for cmd in config['command'].split(';'):
num += 1 num += 1
generate('custom-cmd{}'.format(num), cmd) generate('custom-cmd{}'.format(num), cmd.strip())
else: else:
generate('custom', config['command']) generate('custom', config['command'])
else: else: