diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2018-02-28 09:11:45 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-03-01 10:35:20 -0800 |
commit | 6017b6fca59efaa0caeaadc275fec08696930ead (patch) | |
tree | e50aa862ebd550c5331c86ca9c0fb33f46fada7e /alot/commands/globals.py | |
parent | a298d7eb9722257d737d1b0baa51e7e8c6bb8ebb (diff) |
globals: try to fix debian magic error
I can't reproduce this with arch, but it does reproduce in CI.
Diffstat (limited to 'alot/commands/globals.py')
-rw-r--r-- | alot/commands/globals.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/commands/globals.py b/alot/commands/globals.py index a3c21400..49b61b4d 100644 --- a/alot/commands/globals.py +++ b/alot/commands/globals.py @@ -280,7 +280,7 @@ class ExternalCommand(Command): _, err = proc.communicate(stdin.read() if stdin else None) if proc.returncode == 0: return 'success' - return helper.try_decode(err).strip() + return helper.try_decode(err).strip() if err else '' if self.in_thread: d = threads.deferToThread(thread_code) |