Closed rsclip closed 3 years ago
@Cyclip Sorry, the conflicts here are already pretty much. Please can you open another PR with the formatting changes made on a new branch of an updated fork. 🙏🏾
Try following these steps:
main
.I said you should delete your fork because trying to fetch from upstream to your current fork will result in merge conflicts because you made changes on your fork's main
branch.
👍🏾
Changes are detailed in 2 commits. Essentially I fixed the code to suit Python's naming conventions (adding docstrings, constant variable names, etc.) and also added a safety measure where if
PATH
is still none after callingshutil.which()
(which I assume takes it from%path%
), it uses spotify's default installation directory.To elaborate on it you could get a list of installed programs, select Spotify and get the directory from there but this is a simple small approach.