mirror of
https://github.com/kawasaki/pyscrlink.git
synced 2025-09-05 17:20:20 +02:00
BLESession.__del__: Fixed NameError exception on exit because of error
Message was: NameError: name 'close' is not defined
This commit is contained in:
committed by
Shin'ichiro Kawasaki
parent
2b7fb7a07a
commit
cea2723a0b
@@ -195,7 +195,7 @@ class BLESession(Session):
|
||||
self.perip.disconnect()
|
||||
|
||||
def __del__(self):
|
||||
close(self)
|
||||
self.close()
|
||||
|
||||
def matches(self, dev, filters):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user