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

Problem with double/single quotes? #1

Open
2catts opened this issue Feb 27, 2025 · 2 comments
Open

Problem with double/single quotes? #1

2catts opened this issue Feb 27, 2025 · 2 comments

Comments

@2catts
Copy link

2catts commented Feb 27, 2025

Ran the script and got the following error:

File "/home/mpc/waydroid_gps_fix.py", line 170
f.write(f"ro.kernel.android.gps={self.config["usb_host"]}\n")
^^^^^^^^
SyntaxError: f-string: unmatched '['

Linux Mint 21.3, Python 3 is installed. Might be to do with quotes see

https://stackoverflow.com/questions/67540413/f-string-unmatched-in-line-with-function-call

or could I be doing something wrong? Thanks.

@Lolmc0587
Copy link
Owner

i think this is just old python doesn't support it. I can run it on Python 3.12 Ubuntu 24.04 LTS
I will fix this

@Lolmc0587
Copy link
Owner

2ea8bce
Done

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