mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-06-07 22:42:41 -04:00
Clean up importlib imports
This commit is contained in:
parent
f8925eaed1
commit
f9d42082a2
12 changed files with 14 additions and 14 deletions
|
@ -368,7 +368,7 @@ class RNodeInterface(Interface):
|
|||
lt_alock = float(c["airtime_limit_long"]) if "airtime_limit_long" in c and c["airtime_limit_long"] != None else None
|
||||
port = c["port"] if "port" in c else None
|
||||
|
||||
import importlib
|
||||
import importlib.util
|
||||
if RNS.vendor.platformutils.is_android():
|
||||
self.on_android = True
|
||||
if importlib.util.find_spec('usbserial4a') != None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue