Open DanielXH opened 4 years ago
TypeError: 'NoneType' object is not iterable
Traceback:
File "/app/.heroku/python/lib/python3.6/site-packages/streamlit/ScriptRunner.py", line 319, in _run_script
exec(code, module.__dict__)
File "/app/notion-md-exporter.py", line 187, in <module>
notion_markdown_export(token_v2, url, directory)
File "/app/notion-md-exporter.py", line 134, in notion_markdown_export
for children_id in page.get("content"):
导出时报错,试过几次了,不同的报错提示
TypeError: 'NoneType' object is not iterable Traceback: File "/app/.heroku/python/lib/python3.6/site-packages/streamlit/ScriptRunner.py", line 319, in _run_script exec(code, module.__dict__) File "/app/notion-md-exporter.py", line 187, in <module> notion_markdown_export(token_v2, url, directory) File "/app/notion-md-exporter.py", line 134, in notion_markdown_export for children_id in page.get("content"):