Skip to content

Commit

Permalink
Fix Container class move for python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgibbs committed Aug 16, 2024
1 parent 760af07 commit 8c791bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydm/data_plugins/epics_plugins/p4p_plugin_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def send_new_value(self, value: Value) -> None:
if self.nttable_data_location:
msg = f"Invalid channel... {self.nttable_data_location}"
for subfield in self.nttable_data_location:
if isinstance(new_value, collections.Container) and not isinstance(new_value, str):
if isinstance(new_value, collections.abc.Container) and not isinstance(new_value, str):
if isinstance(subfield, str):
try:
new_value = new_value[subfield]
Expand Down

0 comments on commit 8c791bc

Please sign in to comment.