Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Service account path is wrong when using ~ #641

Open
devnoot opened this issue Jul 28, 2022 · 0 comments
Open

Service account path is wrong when using ~ #641

devnoot opened this issue Jul 28, 2022 · 0 comments

Comments

@devnoot
Copy link

devnoot commented Jul 28, 2022

I'm seeing an issue where I can't specify the service account path with ~

For example

gdrive --service-account ~/.config/gdrive/FILENAME.json list

gives me

Failed getting oauth client: Service account filename "/home/USERNAME/.gdrive/home/USERNAME/.config/gdrive/FILENAME.json" not found

I believe the issue is that the --config needs to be set to ~/.config/gdrive but if --config isn't supplied while --service-account is, gdrive should respect the --service-account path, or at least use $XDG_CONFIG_HOME if it's available.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant