leoncvlt / loconotion

📄 Python tool to turn Notion.so pages into lightweight, customizable static websites
833 stars 131 forks source link

Invalid syntax #111

Open dosoft opened 2 years ago

dosoft commented 2 years ago
  File "/opt/loconotion/loconotion/loconotion/modules/notionparser.py", line 544
    if not (custom_fonts := self.get_page_config(url).get("fonts", {})):
                         ^
SyntaxError: invalid syntax

Any ideas why I'm getting this error?

2m commented 2 years ago

The "walrus" operator is available from Python 3.8. We should update pyproject.toml file to specify that we need at least this version.

2m commented 2 years ago

Created PR for this #112