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

Fix syntax error in timestampTrade.py #436

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Written2001
Copy link
Contributor

This line leads to an syntax error: "unmatched '['" due to the usage of double quotes for both the f-string and the inner dictionary key.
The proposed solution fixes that.

This line leads to an syntax error: "unmatched '['" due to the usage of double quotes for both the f-string and the inner dictionary key.
@Maista6969
Copy link
Collaborator

Nested quotes are supported in Python 3.12 and above

@Written2001
Copy link
Contributor Author

Not sure if it's the default but the python version in my stash docker container is 3.11.2

@feederbox826
Copy link
Collaborator

Ah. Nerethos is still on py3.11.2

@Tweeticoats
Copy link
Contributor

Another bug that needs to be fixed: the "path" setting is not configured in the defaults.
The UI has this as "Download parent folder" but it is not set until it is modified so it needs to be added to the settings default object.
Could you also add the following to the settings on line 1335
"path": "/download_dir/tt-auto",

@Written2001
Copy link
Contributor Author

Ah. Nerethos is still on py3.11.2

Yeah the Image is based on debian bookworm which has no prebuild deb packages for python3.12

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

Successfully merging this pull request may close these issues.

4 participants