1. sasuke122
  2. metaTED

Commits

Petar Marić  committed 4870907

Cached talk_info metadata should be written to disk as soon as possible to minimize data loss

  • Participants
  • Parent commits 9f6232f
  • Branches default

Comments (0)

Files changed (1)

File metaTED/crawler/get_downloadable_talks.py

View file
                     talk_info = future.result()
                     downloadable_talks.append(talk_info)
                     talks_info[talk_url] = talk_info
-        
-        cached_storage['talks_infos'] = talks_info
+                    cached_storage['talks_infos'] = talks_info
     
     if not downloadable_talks:
         raise NoDownloadableTalksFound('No downloadable talks found')