-
Notifications
You must be signed in to change notification settings - Fork 158
Description
In baseclient.py:158-161:
certs = self.certs or "/certs/"
ssl_path = os.path.join(os.pardir, certs)
try:
cert_path = os.listdir(ssl_path)
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'