mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-05 16:08:40 +00:00
Fixed another splitting bug
This commit is contained in:
parent
d589823f4a
commit
0a9a1db942
1 changed files with 1 additions and 2 deletions
|
@ -166,8 +166,7 @@ class BaseCommand(object):
|
||||||
result = re.split(r"(?<!\\) ", text)
|
result = re.split(r"(?<!\\) ", text)
|
||||||
for i, s in enumerate(result):
|
for i, s in enumerate(result):
|
||||||
result[i] = s.replace(r'\ ', ' ')
|
result[i] = s.replace(r'\ ', ' ')
|
||||||
if result == ['']:
|
result = filter(lambda s: s != '', result)
|
||||||
result = []
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def create_parser(self):
|
def create_parser(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue