summaryrefslogtreecommitdiff
path: root/alot/helper.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2011-11-06 22:29:46 +0000
committerPatrick Totzke <patricktotzke@gmail.com>2011-11-06 22:29:46 +0000
commit5aa36b8564fd2c6ce570a63b14f3e9cffc17e370 (patch)
tree83db856c4078bab1af9fd11e468d2e6ccf592710 /alot/helper.py
parentbb51ed19e8dd79ecf5018df3f56c0bdded55b82e (diff)
parent3229051de9fffb3f0898d7ab571f73e383b7ff90 (diff)
Merge branch 'master' of github.com:pazz/alot
Diffstat (limited to 'alot/helper.py')
-rw-r--r--alot/helper.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/alot/helper.py b/alot/helper.py
index da80d02d..93655818 100644
--- a/alot/helper.py
+++ b/alot/helper.py
@@ -207,6 +207,7 @@ def cmd_output(command_line):
def pipe_to_command(cmd, stdin):
# remove quotes which have been put around the whole command
+ cmd = cmd.strip()
if cmd[0] == '"' and cmd[-1] == '"':
cmd = cmd[1:-1]
args = shlex.split(cmd.encode('utf-8', errors='ignore'))