Keep trailing backslash in arg parsing
This commit is contained in:
parent
e60d0ba81e
commit
85eb820fa6
1 changed files with 3 additions and 0 deletions
|
|
@ -162,6 +162,9 @@ class Bot(Inhabitant):
|
||||||
#if escape or quote:
|
#if escape or quote:
|
||||||
#return None # syntax error
|
#return None # syntax error
|
||||||
|
|
||||||
|
if escape:
|
||||||
|
arg += "\\"
|
||||||
|
|
||||||
if len(arg) > 0:
|
if len(arg) > 0:
|
||||||
args.append(arg)
|
args.append(arg)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue