From 35f8aed777ec8a54f76535dbb0d808e30e2362e8 Mon Sep 17 00:00:00 2001 From: Rico Hermans Date: Tue, 30 Apr 2024 08:23:24 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9A=20Fix=20the=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- website/yaml_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/yaml_file.py b/website/yaml_file.py index 018a7652027..bb111833d1f 100644 --- a/website/yaml_file.py +++ b/website/yaml_file.py @@ -114,7 +114,7 @@ def load(self): yaml_ts = self._file_timestamp(self.filename) pickle_ts = self._file_timestamp(self.pickle_filename) - if pickle_ts and pickle_ts > yaml_ts: + if pickle_ts and yaml_ts and pickle_ts > yaml_ts: # Pickle file is newer than the YAML, just read that return self.load_pickle()