Fixed typo strip => split
This commit is contained in:
parent
4b0ac88e62
commit
6aea754b3d
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ def aslist(val):
|
|||
return []
|
||||
if isinstance(val, list):
|
||||
return val
|
||||
return str(val).replace(' ', '').strip(',')
|
||||
return str(val).replace(' ', '').split(',')
|
||||
|
||||
def execute(cmd, wait=True):
|
||||
logging.info("executing command '{}'".format(cmd))
|
||||
|
|
Loading…
Reference in a new issue