fermitools / htgettoken

Gets OIDC authentication tokens for High Throughput Computing via a Hashicorp vault server
Other
5 stars 4 forks source link

htgettoken tries to write tempfile in `/` if -o is not full path #66

Closed DrDaveD closed 7 months ago

DrDaveD commented 1 year ago

htgettoken uses os.path.dirname(outfile) to find the name of the directory of the outfile, but unlike the dirname used at the command line, that does not default to "." if it is no directory component. So it tries to write it into '/'.

DrDaveD commented 7 months ago

Fixed by #97