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

@ -20,7 +20,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
import importlib
import importlib.util
if importlib.util.find_spec('hashlib') != None:
import hashlib
else: