summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-03-13 10:09:57 +0000
committerPatrick Totzke <patricktotzke@gmail.com>2012-03-13 10:09:57 +0000
commit746075034b22de8c92f6655a637481f925659acf (patch)
tree42857ce5cba555913f8f8113952039e9869fd961
parent4a9f2f1e24643b549902488ef96edce88de96c27 (diff)
fix PrintCommand
this makes PrintCommand use the new settings.get properly, which doesn;t have a 'fallback' parm closes #407
-rw-r--r--alot/commands/thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py
index 1d6419a5..45734b21 100644
--- a/alot/commands/thread.py
+++ b/alot/commands/thread.py
@@ -563,7 +563,7 @@ class PrintCommand(PipeCommand):
:type add_tags: bool
"""
# get print command
- cmd = settings.get('print_cmd', fallback='')
+ cmd = settings.get('print_cmd') or ''
# set up notification strings
if all: