summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2011-08-20 15:51:44 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2011-08-20 15:51:44 +0100
commit53107603db05d878627154eaece5c0ce88830fc1 (patch)
treece6b0b11113d0e5b052c28ccfaf9698196ca1d44 /alot
parentc71aca4f5479600a9a9c20ccc12cf8fc2b67f694 (diff)
shlex and unicode (needs ascii)
Diffstat (limited to 'alot')
-rw-r--r--alot/helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/helper.py b/alot/helper.py
index b1668d80..fbf6643b 100644
--- a/alot/helper.py
+++ b/alot/helper.py
@@ -44,7 +44,7 @@ def pretty_datetime(d):
def cmd_output(command_line):
- args = shlex.split(command_line)
+ args = shlex.split(command_line.encode('ascii', errors='ignore'))
try:
output = subprocess.check_output(args)
except subprocess.CalledProcessError: