diff --git a/src/tribler/core/components/metadata_store/db/orm_bindings/torrent_metadata.py b/src/tribler/core/components/metadata_store/db/orm_bindings/torrent_metadata.py index e13b2d46a30..ca954385efe 100644 --- a/src/tribler/core/components/metadata_store/db/orm_bindings/torrent_metadata.py +++ b/src/tribler/core/components/metadata_store/db/orm_bindings/torrent_metadata.py @@ -33,7 +33,7 @@ def tdef_to_metadata_dict(tdef): try: torrent_date = datetime.fromtimestamp(tdef.get_creation_date()) - except ValueError: + except (ValueError, TypeError): torrent_date = EPOCH return {