-
Notifications
You must be signed in to change notification settings - Fork 152
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
Parent directory is added to given certs path #279
Comments
Welcome any PR's to the readme or code |
@liampauling What went wrong with this pull request? I can see it was closed rather than merged after being open for 1.5 years. |
My comments where not addressed so I guess I just closed to clean it up, happy to reopen once all fixed |
mzaja
added a commit
to mzaja/betfair
that referenced
this issue
May 27, 2023
Pull request opened: #520. |
liampauling
added a commit
that referenced
this issue
Jul 24, 2023
#279 Stop prepending pardir to certs path
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In baseclient.py:158-161:
If given an absolute path, nothing changes. If given a relative path, the parent directory is added. Adding the parent directory seems confusing to me, as I would expect I should give the path relative from the working directory.
I appear to not be the only one: #30 (comment)
Can this be changed or atleast mentioned in the README?
Example:
project_dir
|--- betfair
_ |--- script.py
_ |--- certs/
I would expect to give the argument './betfair/certs/', but this would lead to '../betfair/certs'. To account for this, I would have to put in 'project_dir/betfair/certs/', leading to '../project_dir/betfair/certs'. As my working directory is project_dir, it seems like I am referring to 'project_dir/project_dir/betfair/certs'
The text was updated successfully, but these errors were encountered: