summaryrefslogtreecommitdiffstats
path: root/gatt/gatt.py
blob: d0bdd8e275b3e0c815f45fd0657be9ce50a2ace9 (plain)
1
2
3
4
5
6
7
8
9
10
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 *