Clean up importlib imports

This commit is contained in:
Mark Qvist 2025-04-08 15:23:44 +02:00
parent f8925eaed1
commit f9d42082a2
12 changed files with 14 additions and 14 deletions

View file

@ -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: