]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch
fix wrongly names variable format->out_format
[notmuch] / notmuch
diff --git a/notmuch b/notmuch
index 85736a9aff702a0f02e2526e39a071b2d5a92c53..c01dab34905a0703a6492d1cd3691b462530503f 100755 (executable)
--- a/notmuch
+++ b/notmuch
@@ -339,7 +339,7 @@ if __name__ == '__main__':
          msgs = thrd.get_toplevel_messages()
 
          if not first_toplevel:
          msgs = thrd.get_toplevel_messages()
 
          if not first_toplevel:
-            if format.lower()=="json":
+            if out_format.lower()=="json":
                sys.stdout.write(", ")
 
          first_toplevel = False
                sys.stdout.write(", ")
 
          first_toplevel = False