From 0384131cdf9430f78440fab239d7f191fcae4055 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 9 Oct 2015 10:37:05 +0200 Subject: Reaktor: drop shlex for parsing args, every command has to do it by itself now this breaks compatibility so be aware --- Reaktor/reaktor/__init__.py | 2 +- Reaktor/reaktor/core.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Reaktor/reaktor/__init__.py b/Reaktor/reaktor/__init__.py index dd694a06..10b8539a 100644 --- a/Reaktor/reaktor/__init__.py +++ b/Reaktor/reaktor/__init__.py @@ -1 +1 @@ -__version__="0.4.3" +__version__="0.5.0" diff --git a/Reaktor/reaktor/core.py b/Reaktor/reaktor/core.py index eb8d9824..18fb074e 100755 --- a/Reaktor/reaktor/core.py +++ b/Reaktor/reaktor/core.py @@ -107,7 +107,7 @@ class Reaktor(asybot): myargv = [exe] + command['argv'][1:] try: if match and match.groupdict().get('args', None): - myargv += shlex.split(match.groupdict()['args']) + myargv += [match.groupdict()['args']] except: log.info("cannot parse args!") -- cgit v1.2.3