mirror of https://github.com/labapart/gattlib
parent
ebd163f1dc
commit
f0426ae3e3
|
@ -6,10 +6,11 @@
|
|||
|
||||
from ctypes import *
|
||||
import logging
|
||||
import pathlib
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
gattlib = CDLL("libgattlib.so")
|
||||
gattlib = cdll.LoadLibrary(str(pathlib.Path(__file__).with_name('libgattlib.so')))
|
||||
|
||||
def native_logging(level: int, string: str):
|
||||
if level == 3:
|
||||
|
|
Loading…
Reference in New Issue