diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-09-04 22:12:21 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-09-04 22:12:21 +0200 |
commit | 836f56f0de9615ffd730abba803b95ad900f5b38 (patch) | |
tree | f9b14d24fda54122add718c2ab725de93f7d68a5 /user-profiles/feeds | |
parent | 803ac568b3666b74b3a9cd616b9fea7a94ce719f (diff) | |
download | nixos-836f56f0de9615ffd730abba803b95ad900f5b38.tar nixos-836f56f0de9615ffd730abba803b95ad900f5b38.tar.gz nixos-836f56f0de9615ffd730abba803b95ad900f5b38.tar.bz2 nixos-836f56f0de9615ffd730abba803b95ad900f5b38.tar.xz nixos-836f56f0de9615ffd730abba803b95ad900f5b38.zip |
feeds: syntax
Diffstat (limited to 'user-profiles/feeds')
-rw-r--r-- | user-profiles/feeds/imm-notmuch-insert.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user-profiles/feeds/imm-notmuch-insert.py b/user-profiles/feeds/imm-notmuch-insert.py index 80c96746..73342c90 100644 --- a/user-profiles/feeds/imm-notmuch-insert.py +++ b/user-profiles/feeds/imm-notmuch-insert.py | |||
@@ -20,7 +20,7 @@ def main(): | |||
20 | msg['From'] = f"{callbackMessage['feed_definition']['title']} ({authors}) <imm@imm.invalid>" | 20 | msg['From'] = f"{callbackMessage['feed_definition']['title']} ({authors}) <imm@imm.invalid>" |
21 | msg['To'] = f"{notmuchConfig['user']['name']} <{notmuchConfig['user']['primary_email']}>" | 21 | msg['To'] = f"{notmuchConfig['user']['name']} <{notmuchConfig['user']['primary_email']}>" |
22 | msg['Subject'] = callbackMessage['feed_item']['title'] | 22 | msg['Subject'] = callbackMessage['feed_item']['title'] |
23 | msg['Message-ID'] = f"{callbackMessage['feed_item']['identifier']@imm.invalid}" | 23 | msg['Message-ID'] = f"{callbackMessage['feed_item']['identifier']}@imm.invalid" |
24 | for link in callbackMessage['feed_item']['links']: | 24 | for link in callbackMessage['feed_item']['links']: |
25 | msg.add_header('Link', link['uri']) | 25 | msg.add_header('Link', link['uri']) |
26 | if 'date' in callbackMessage['feed_item']: | 26 | if 'date' in callbackMessage['feed_item']: |