diff options
Diffstat (limited to 'alot/helper.py')
-rw-r--r-- | alot/helper.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/alot/helper.py b/alot/helper.py index ad605acb..a8327145 100644 --- a/alot/helper.py +++ b/alot/helper.py @@ -28,6 +28,8 @@ def split_commandline(s, comments=False, posix=True): """ splits semi-colon separated commandlines """ + # shlex seems to remove unescaped quotes + s = s.replace('\'','\\\'') # encode s to utf-8 for shlex if isinstance(s, unicode): s = s.encode('utf-8') |