Skip to content

Commit 3f758d8

Browse files
authored
Unsub list handle (#1097)
* Add list handeling for unsubbing * fix * Remove square bracket, causes double listing like mentioned in #1096 * Fix wrong var declaration
1 parent 57020d2 commit 3f758d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opcua/common/subscription.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def unsubscribe(self, handle):
300300
return
301301
params = ua.DeleteMonitoredItemsParameters()
302302
params.SubscriptionId = self.subscription_id
303-
params.MonitoredItemIds = [handle]
303+
params.MonitoredItemIds = handles
304304
results = self.server.delete_monitored_items(params)
305305
results[0].check()
306306
with self._lock:

0 commit comments

Comments
 (0)