tobinus / python-podgen

Generating podcasts with Python should be easy!
https://podgen.readthedocs.org
Other
51 stars 10 forks source link

Do not use str() to generate RSS #112

Open tobinus opened 4 years ago

tobinus commented 4 years ago

Currently, you can generate the RSS by converting the Podcast to RSS:

print(str(p))

However, this introduces a couple issues:

For version 1.2.0, using str() to generate the RSS should yield DeprecationWarning.

For version 2.0.0, you can only use rss_str() to generate the RSS as string.