From e792aa8f2a401b83bda608eeae8b347e5be845ea Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 21 May 2021 12:15:07 -0700 Subject: arabesque importer: ensure full 14-digit timestamps --- python/fatcat_tools/importers/arabesque.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'python') diff --git a/python/fatcat_tools/importers/arabesque.py b/python/fatcat_tools/importers/arabesque.py index 47a8c4da..79fb10d3 100644 --- a/python/fatcat_tools/importers/arabesque.py +++ b/python/fatcat_tools/importers/arabesque.py @@ -64,7 +64,9 @@ class ArabesqueMatchImporter(EntityImporter): return False if (row['hit'] == True and row['final_sha1'] - and row['final_timestamp'] and row['final_timestamp'] != "-" + and row['final_timestamp'] + and row['final_timestamp'] != "-" + and len(row['final_timestamp']) == 14 and row['final_mimetype'] and row['hit'] == True and row['identifier']): -- cgit v1.2.3