Commits

sillyfrog committed 78176eb

Minor fixes

Comments (0)

Files changed (1)

python-iview/daily_scrape.py

     return fn
 
 def getoutputpath(show):
-    '''Given a show dict, return the path the final file should be saved to.
+    '''Given a show dict, return the full path the file should be saved to.
     '''
     fn = showfilename(show) + os.path.splitext(show['url'])[1]
     outputdir = os.path.join(BASE_OUTPUT_PATH, showfolder(show))
         p.wait()
         success = (p.returncode == 0)
         if success:
-            DOWNLOADED.append(show['title'])
+            DOWNLOADED.append(show['filename'])
             print "Successfully downloaded %s" % (show['title'])
             postdownload(show)
         else: