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

Syntax error v1.1.10 #44

Closed
romanmatyus opened this issue Oct 18, 2021 · 2 comments
Closed

Syntax error v1.1.10 #44

romanmatyus opened this issue Oct 18, 2021 · 2 comments

Comments

@romanmatyus
Copy link

Hello, I receive error when I try run example from github on ubuntu.

Do you have any idea where is problem?

Thanks

$ ./example.py 
Traceback (most recent call last):
  File "./example.py", line 17, in <module>
    from skodaconnect import Connection
  File "skodaconnect/skodaconnect/__init__.py", line 7, in <module>
    from skodaconnect.connection import Connection
  File "<fstring>", line 1
    (await req.text())
             ^
SyntaxError: invalid syntax
$ python3 --version
Python 3.6.9
@WebSpider
Copy link
Contributor

Offending line is https://github.com/lendy007/skodaconnect/blob/afc7924f727b85069f0b15611f154980e82214b7/skodaconnect/connection.py#L238

I am running this code on ubuntu 20.04 without any issue on python 3.8.10, probably is version specific.

@romanmatyus
Copy link
Author

@WebSpider Thx, on python3.8 working

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