-
-
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
fixed f-string unmatched error in src/sylva/helpers/generic.py #4
Conversation
The single quotes shouldn't be an issue by themselves, at least not theoretically, and it took me a second to spot what you were fixing....... maybe it's a conflict with the inner f-string's single quotes? You would think that those would be fine as they're contained within another f-string Odd that it was causing you problems but not me. If you run the original again, would you mind sharing the exact error message here? I'd like to see what the difference may be system to system (feel free to redact any identifying information) |
Traceback (most recent call last): |
Also my bad idk anything about Conventional Commits format lol. |
Yup, that's right after the inner single quote. Interesting. It's beyond me as to why it affects some systems and not others. Let me just validate it real quick and I'll merge it in |
No worries! Something like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Everything checks out when testing
Appreciate that you not only raised the bug but proposed a fix as well!
Thnx for the quick reply and the merge! |
Just if you were curious, I've figured out what the discrepancy was -- You're running Python 3.10 (based on the file path in your paste). Something changed in regards to string interpolation between 3.10 and 3.12, which is what my development environment was built using. After doing a quick Good catch. |
Makes sense. Apt-get is usually behind with python versions, at least with Ubuntu and Kali in my experience so good fix I guess lol |
This error prevented me from running sylva but once fixed it runs fine on my machine. Hope this helps.