Skip to content

Commit e1d990f

Browse files
committed
revert: Revert change (b49895a)
1 parent b49895a commit e1d990f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎onvif/client.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,11 +220,11 @@ def events(self):
220220
)
221221
return self._events
222222

223-
def pullpoint(self, Subscription):
223+
def pullpoint(self, SubscriptionRef):
224224
if self._pullpoint is None:
225225
xaddr = None
226226
try:
227-
addr_obj = Subscription["SubscriptionReference"]["Address"]
227+
addr_obj = SubscriptionRef["SubscriptionReference"]["Address"]
228228
if isinstance(addr_obj, dict) and "_value_1" in addr_obj:
229229
xaddr = addr_obj["_value_1"]
230230
elif hasattr(addr_obj, "_value_1"):
@@ -247,11 +247,11 @@ def notification(self):
247247
)
248248
return self._notification
249249

250-
def subscription(self, Subscription):
250+
def subscription(self, SubscriptionRef):
251251
if self._subscription is None:
252252
xaddr = None
253253
try:
254-
addr_obj = Subscription["SubscriptionReference"]["Address"]
254+
addr_obj = SubscriptionRef["SubscriptionReference"]["Address"]
255255
if isinstance(addr_obj, dict) and "_value_1" in addr_obj:
256256
xaddr = addr_obj["_value_1"]
257257
elif hasattr(addr_obj, "_value_1"):

0 commit comments

Comments
 (0)