fix linter warning

This commit is contained in:
Eric Le Lay 2019-08-11 12:18:28 +02:00
parent 9827cc5862
commit b4554005d9
1 changed files with 1 additions and 1 deletions

View File

@ -767,7 +767,7 @@ class PodcastEpisode(PodcastModelObject):
def update_from(self, episode):
for k in ('title', 'url', 'description', 'description_html', 'link', 'published', 'guid', 'payment_url'):
setattr(self, k, getattr(episode, k))
setattr(self, k, getattr(episode, k))
# Don't overwrite file size on downloaded episodes
# See #648 refreshing a youtube podcast clears downloaded file size
if self.state != gpodder.STATE_DOWNLOADED: