From c805b5730e26804b300185a050b2634b9e2e91be Mon Sep 17 00:00:00 2001 From: mohashii Date: Sat, 29 Jan 2022 19:57:30 +0900 Subject: [PATCH] Fix EquationBlock.latex --- notion/block.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notion/block.py b/notion/block.py index f19784f9..6635addf 100644 --- a/notion/block.py +++ b/notion/block.py @@ -588,7 +588,7 @@ class EquationBlock(BasicBlock): latex = field_map( ["properties", "title"], python_to_api=lambda x: [[x]], - api_to_python=lambda x: x[0][0], + api_to_python=lambda x: x[0][0] if x else "", ) _type = "equation"