Skip to content

Commit

Permalink
umu_run: fix import error for python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Sep 3, 2024
1 parent 54e501d commit 5c646dd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion umu/umu_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@
from concurrent.futures import Future, ThreadPoolExecutor
from ctypes import CDLL, c_int, c_ulong
from errno import ENETUNREACH
from importlib.resources.abc import Traversable

try:
from importlib.resources.abc import Traversable
except ImportError:
from importlib.abc import Traversable

from logging import DEBUG, INFO, WARNING
from pathlib import Path
from pwd import getpwuid
Expand Down

0 comments on commit 5c646dd

Please sign in to comment.