aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2025-05-18 23:03:21 +0100
committerjwansek <eddie.atten.ea29@gmail.com>2025-05-18 23:03:21 +0100
commit9a1ed86480febbd6d2196fcba879a3a6134ff7a8 (patch)
tree370c377491c781544b0f5a3c3f36b8a6491e9944
parenteaff8b05c20b19c59e32e2646ca17d7bc75250aa (diff)
downloadpower.eda.gay-9a1ed86480febbd6d2196fcba879a3a6134ff7a8.tar.gz
power.eda.gay-9a1ed86480febbd6d2196fcba879a3a6134ff7a8.zip
Regressed to make with versions older than 3.9
-rw-r--r--switch-snmp/mikrotik.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/switch-snmp/mikrotik.py b/switch-snmp/mikrotik.py
index afd3cfa..5d2a77c 100644
--- a/switch-snmp/mikrotik.py
+++ b/switch-snmp/mikrotik.py
@@ -68,7 +68,7 @@ class MikroTikSSHDevice:
def get_poe_interfaces(self, interface_names):
out = {}
for four_interfaces in [interface_names[i:i + 4] for i in range(0, len(interface_names), 4)]:
- out |= self._poll_four_interfaces(four_interfaces)
+ out = {**out, **self._poll_four_interfaces(four_interfaces)}
return out
def remove_measurement_type(type_str):