Skip to content

Commit

Permalink
DFReader.py - change flag to metadata_load_attempted
Browse files Browse the repository at this point in the history
Co-authored-by: Peter Barker <[email protected]>
  • Loading branch information
shancock884 and peterbarker authored Mar 18, 2024
1 parent 9e05766 commit 7203cf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DFReader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7203cf8

Please sign in to comment.