mirror of
https://github.com/JoelBender/bacpypes
synced 2025-09-28 22:15:23 +08:00
Forcing a default value of 0 for lifetime... just in case.
Fix for issue #364 Signed-off-by: Christian Tremblay, ing. <christian.tremblay@servisys.com>
This commit is contained in:
parent
f834e53c55
commit
ce5a30f881
|
@ -90,7 +90,7 @@ class Subscription(OneShotTask, DebugContents):
|
|||
'lifetime',
|
||||
)
|
||||
|
||||
def __init__(self, obj_ref, client_addr, proc_id, obj_id, confirmed, lifetime):
|
||||
def __init__(self, obj_ref, client_addr, proc_id, obj_id, confirmed, lifetime=0):
|
||||
if _debug: Subscription._debug("__init__ %r %r %r %r %r %r", obj_ref, client_addr, proc_id, obj_id, confirmed, lifetime)
|
||||
OneShotTask.__init__(self)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user