Skip to content

Commit

Permalink
Client.snap: always initialize data_list as []
Browse files Browse the repository at this point in the history
  • Loading branch information
shilorigins committed Aug 1, 2024
1 parent 1a4b005 commit 44a04ba
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions superscore/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,7 @@ def _gather_data(
the filled pv_list and data_list
"""
pv_list = []
data_list = None
if isinstance(entry, (Snapshot, Setpoint, Readback)):
data_list = []
data_list = []

seen = set()
q = [entry]
Expand Down

0 comments on commit 44a04ba

Please sign in to comment.