mirror of
https://github.com/Googolplexed0/zotify.git
synced 2026-04-25 06:15:55 +03:00
[GH-ISSUE #97] [Bug Report] Duplicate credentials file #83
Labels
No labels
bug
considering
discussion
documentation
enhancement
enhancement
good first issue
help wanted
pull-request
question
stale
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/zotify#83
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @a0g83agbc84 on GitHub (Oct 8, 2025).
Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/97
Originally assigned to: @Googolplexed0 on GitHub.
Zotify Version
v0.9.27
Bug Description
Credentials file stored in the same directory where zotify is executed from with terminal, even though the config specifies a location with a valid credentials file already.
Bug Triggering Command
Any command that requires auth.
Config File
Embeded
config.jsonfile here. Even better if its aconfig_DEBUG.json.I expect the
credentials.jsonto remain only atCREDENTIALS_LOCATION, and not wherezotifyis executed from too.Deleting the "current directory" credentials and executing again, only makes the file to be created again. Changing
SAVE_CREDENTIALStoFalsedoes not fix the issue. Adding full path toCREDENTIALS_LOCATIONmakes zotify to complain that "a file already exists". A bit funny, that's the point :)Thanks in advance for taking a look at this.
@Googolplexed0 commented on GitHub (Oct 9, 2025):
Should be fixed on v0.9.28 and also in efficient-api. Let me know if it isn't.
The appearance of the cwd is strange. I think this was also the root cause with #87, since the previous behavior for the Session was to write to the default credentials location, which is
cwd() / credentials.json.@a0g83agbc84 commented on GitHub (Oct 9, 2025):
Thank you again for the speedy fix, I'll check it out and let you know