Actually assign result to variable

pull/2480/head
Erik Johnston 2017-09-28 13:55:29 +01:00
parent 93247a424a
commit e1e7d76cf1
1 changed files with 1 additions and 1 deletions

View File

@ -372,7 +372,7 @@ class PreviewUrlResource(Resource):
# may have a room open with a preview url thing open).
# So we wait a couple of days before deleting, just in case.
expire_before = now - 2 * 24 * 60 * 60 * 1000
yield self.store.get_url_cache_media_before(expire_before)
media_ids = yield self.store.get_url_cache_media_before(expire_before)
removed_media = []
for media_id in media_ids: