diff options
author | P. J. McDermott <pj@pehjota.net> | 2023-10-01 10:52:07 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2023-10-01 10:52:07 (EDT) |
commit | 1369c3fcb52c7e6500bf52ecfddf113747f05047 (patch) | |
tree | 2862ad27d6028c1ebcc47b05396c956157059960 /gatt/gatt.py | |
download | gatt-python-1369c3fcb52c7e6500bf52ecfddf113747f05047.zip gatt-python-1369c3fcb52c7e6500bf52ecfddf113747f05047.tar.gz gatt-python-1369c3fcb52c7e6500bf52ecfddf113747f05047.tar.bz2 |
New upstream version 0.2.7upstream/0.2.7upstream/latest
Diffstat (limited to 'gatt/gatt.py')
-rw-r--r-- | gatt/gatt.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gatt/gatt.py b/gatt/gatt.py new file mode 100644 index 0000000..d0bdd8e --- /dev/null +++ b/gatt/gatt.py @@ -0,0 +1,11 @@ +import os +import platform + +if platform.system() == 'Linux': + if os.environ.get('LINUX_WITHOUT_DBUS', '0') == '0': + from .gatt_linux import * + else: + from .gatt_stubs import * +else: + # TODO: Add support for more platforms + from .gatt_stubs import * |