summaryrefslogtreecommitdiff
path: root/alot/db
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2016-03-30 22:53:54 +0200
committerPatrick Totzke <patricktotzke@gmail.com>2016-03-30 22:15:13 +0100
commit4228a904908a7acc2731ac543cc37c521fbe1f32 (patch)
treed48b77ca9cd333829d361c75185140e28152612e /alot/db
parentb185a3f5ac21ba4bf22e6d1e038abd596444c22f (diff)
Define local var in all code paths.
Diffstat (limited to 'alot/db')
-rw-r--r--alot/db/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/alot/db/utils.py b/alot/db/utils.py
index f98a0828..f3036f86 100644
--- a/alot/db/utils.py
+++ b/alot/db/utils.py
@@ -55,6 +55,7 @@ def add_signature_headers(mail, sigs, error_msg):
sig_from = key.uids[0].uid
except:
sig_from = sigs[0].fpr
+ uid_trusted = False
mail.add_header(
X_SIGNATURE_VALID_HEADER,