From 7203cf876008ae68aaec60f894fe89408b5ac86d Mon Sep 17 00:00:00 2001 From: Simon Hancock <140744770+shancock884@users.noreply.github.com> Date: Mon, 18 Mar 2024 08:07:32 +0000 Subject: [PATCH] DFReader.py - change flag to metadata_load_attempted Co-authored-by: Peter Barker --- DFReader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DFReader.py b/DFReader.py index ee9c773b1..8da5e2507 100644 --- a/DFReader.py +++ b/DFReader.py @@ -582,7 +582,7 @@ def metadata_tree(self,verbose=False): '''return a map between a log message and its metadata. May return None if data is not available''' # If we've already tried loading data, use it if we have it # This avoid repeated attempts, when the file is not there - if self.tried: + if self.metadata_load_attempted: return self.data self.tried = True # Get file name, based on vehicle type