diff options
-rw-r--r-- | python/fatcat_tools/workers/changelog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/workers/changelog.py b/python/fatcat_tools/workers/changelog.py index a9673d29..789a97a4 100644 --- a/python/fatcat_tools/workers/changelog.py +++ b/python/fatcat_tools/workers/changelog.py @@ -128,7 +128,7 @@ class EntityUpdatesWorker(FatcatWorker): # update release when a file changes # TODO: fetch old revision as well, and only update # releases for which list changed - release_ids.extend(file_entity['release_ids']) + release_ids.extend(file_entity.release_ids or []) file_dict = self.api.api_client.sanitize_for_serialization(file_entity) file_producer.produce( message=json.dumps(file_dict).encode('utf-8'), |