-updated comment in pypofetch

This commit is contained in:
Martin Konecny 2012-03-18 00:38:39 -04:00
parent d35332e0ba
commit 6166d1d590
1 changed files with 2 additions and 4 deletions

View File

@ -384,15 +384,13 @@ class PypoFetch(Thread):
def prepare_media(self, media):
"""
Iterate through the list of media items in "media" and
download them.
Iterate through the list of media items in "media" append some
attributes such as show_name
"""
try:
mediaKeys = sorted(media.iterkeys())
for mkey in mediaKeys:
self.logger.debug("Media item starting at %s", mkey)
media_item = media[mkey]
media_item['show_name'] = "TODO"
except Exception, e:
self.logger.error("%s", e)