-
-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Artist.save_lyrics failing #71
Comments
Ah, thanks for catching this bug! I think the fix is as changing |
Hopefully that small change fixes the bug! I had written a test for |
Hi, something appears being off still. Minimal script is failing: import lyricsgenius as genius .\python\lyrics>py -3 ./genius.py Song 1: "12-Bar Original" Reached user-specified song limit (3). .\python\lyrics>py -3 --version |
Shoot, okay. I'll try to take another look in the next couple of days. Thanks for following up. |
@robot3498712 hopefully #75 fixes this bug for you. I was using a sloppy method of accessing elements within the Song object's self._body dictionary, causing an error when the requested field wasn't present in the dict. Let me know if you do run into any more bugs! |
@johnwmillr Thank you, I can confirm issue is fixed. Cheers! |
Describe the bug
Using the code
artist.save_lyrics()
I am given an error when running the scriptExpected behavior
I expected the lyrics of a chosen song to be saved to a file
To Reproduce
Describe the steps required to reproduce the behavior.
Use the following code:
Include the error message associated with the bug.
Version info
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: