|
|
@ -25,7 +25,11 @@ MM_MODEM_ACCESS_TECHNOLOGY_LTE = 1 << 14 |
|
|
|
|
|
|
|
|
|
|
|
class Tici(HardwareBase): |
|
|
|
class Tici(HardwareBase): |
|
|
|
def __init__(self): |
|
|
|
def __init__(self): |
|
|
|
import dbus # pylint: disable=import-error |
|
|
|
# TODO: remove when dbus is installed everywhere |
|
|
|
|
|
|
|
try: |
|
|
|
|
|
|
|
import dbus # pylint: disable=import-error |
|
|
|
|
|
|
|
except ImportError: |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
|
|
|
|
self.bus = dbus.SystemBus() |
|
|
|
self.bus = dbus.SystemBus() |
|
|
|
self.nm = self.bus.get_object(NM, '/org/freedesktop/NetworkManager') |
|
|
|
self.nm = self.bus.get_object(NM, '/org/freedesktop/NetworkManager') |
|
|
|