-
Notifications
You must be signed in to change notification settings - Fork 2
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
Error - unknown unit #1
Comments
You have an empty or malformed line in your |
I used the file from here - could you maybe upload a new one? |
I just pushed it - you can try again. But I reread your error and it looks like your python version is too old for "f-strings". It must be >3.6 for this. Maybe you accidentially ran it with Python2 on your raspberry pi... I changed the shebang in the script to explicitly use python3, maybe this will fix it. |
Wanted to try out this tool
I get
root@raspberrypi:/var/kr/awattar# ./awattar-statistics.py File "./awattar-statistics.py", line 48 raise ValueError(f"unknown unit {unit} in line {line}") ^ SyntaxError: invalid syntax
any ideas?
The text was updated successfully, but these errors were encountered: