From 51ce5943ac21fd59cc92d788b2d1837ccc6ee495 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 4 Sep 2021 22:23:17 +0200 Subject: feeds: notmuch insert input --- user-profiles/feeds/imm-notmuch-insert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user-profiles/feeds/imm-notmuch-insert.py b/user-profiles/feeds/imm-notmuch-insert.py index 2790abd0..a2dd3cb0 100644 --- a/user-profiles/feeds/imm-notmuch-insert.py +++ b/user-profiles/feeds/imm-notmuch-insert.py @@ -30,7 +30,7 @@ def main(): subprocess.run( args=['notmuch', 'insert'], check=True, - stdin=BytesIO(bytes(msg)) + input=bytes(msg) ) if __name__ == '__main__': -- cgit v1.2.3