Skip to content
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

Empty description crashes castero #36

Closed
paulomanrique opened this issue May 21, 2019 · 2 comments
Closed

Empty description crashes castero #36

paulomanrique opened this issue May 21, 2019 · 2 comments

Comments

@paulomanrique
Copy link

If you add a podcast without description, the program will crash if you try to select it (or if is the only one).

Example: http://podcasts.joerogan.net/feed/rss

description = description.replace('\n', '')
AttributeError: 'NoneType' object has no attribute 'replace'

I messed with the SQLite database and I found that, if the field is NULL, then this error happens. An empty string makes the error go away, and OFC, proper description works aswell.

@xgi xgi closed this as completed in 0c23b68 May 21, 2019
@xgi
Copy link
Owner

xgi commented May 21, 2019

Should be fixed with 0c23b68. I think I assumed at one point that the description field was required.

Thanks!

@paulomanrique
Copy link
Author

Wow that was quick! Working perfect now.

Thanks! :D

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

No branches or pull requests

2 participants