beremiz

Prevent exception when asking for CSV dump while variable traces are still empty
--- a/controls/DebugVariablePanel/DebugVariableItem.py Fri Oct 08 09:11:55 2021 +0200
+++ b/controls/DebugVariablePanel/DebugVariableItem.py Fri Oct 08 09:13:02 2021 +0200
@@ -144,7 +144,7 @@
"""
# Return immediately if data empty or none
if self.Data is None or self.Data.count == 0:
- return None
+ return []
# Find nearest data outside given range indexes
start_idx = (self.GetNearestData(start_tick, -1)