Commits

Petar Marić committed 4870907

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

Comments (0)

Files changed (1)

metaTED/crawler/get_downloadable_talks.py

                     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')