Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid syntax #111

Open
dosoft opened this issue Jul 26, 2022 · 2 comments
Open

Invalid syntax #111

dosoft opened this issue Jul 26, 2022 · 2 comments

Comments

@dosoft
Copy link
Contributor

dosoft commented Jul 26, 2022

  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
Copy link
Contributor

2m commented Jul 27, 2022

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
Copy link
Contributor

2m commented Jul 27, 2022

Created PR for this #112

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants