From 249d950a7083ba536df57fee654bfb16d7570b93 Mon Sep 17 00:00:00 2001 From: Sean Dockray Date: Mon, 8 Jun 2020 23:03:59 +1000 Subject: [PATCH] remove print --- custom_syadmin/build_from_notion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_syadmin/build_from_notion.py b/custom_syadmin/build_from_notion.py index 8628e54..0f95e90 100644 --- a/custom_syadmin/build_from_notion.py +++ b/custom_syadmin/build_from_notion.py @@ -145,7 +145,7 @@ def get_record_text(post, level=0): else: prefix = prefixes.get(child.type, "") text += prefix + child.title.encode('utf-8').decode('utf-8') + "\n\n" - print(text) + text = re.sub('`(bib|session|topic):([a-zA-Z0-9-]+)`', r'![](\1:\2)', text) return text