Changed to not die immediately if we send in an empty command.
There might still be some issues with this however...
This commit is contained in:
+1
-1
@@ -160,7 +160,7 @@ class Node( object ):
|
||||
assert not self.waiting
|
||||
if isinstance( cmd, list ):
|
||||
cmd = ' '.join( cmd )
|
||||
if cmd[ -1 ] == '&':
|
||||
if len( cmd ) > 0 and cmd[ -1 ] == '&':
|
||||
separator = '&'
|
||||
cmd = cmd[ :-1 ]
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user