bugfix: corrected for ValueError

This commit is contained in:
Sebastian Wehling-Benatelli 2024-07-23 13:42:45 +02:00 committed by Sebastian Wehling-Benatelli
parent 29a1e4ebe6
commit b15cfe2e1d

View File

@ -1408,7 +1408,10 @@ class MainWindow(QMainWindow):
eventBox.setView(tv)
def get_max_path_length(self):
if self.project.eventlist:
return max(len(event.path) for event in self.project.eventlist)
else:
return None
def collect_event_data(self, event, plmax):
data = {