Solved Library error

This commit is contained in:
Said Ali 2021-09-03 20:41:06 +00:00 committed by GitHub
parent 9f7a93796f
commit c156615875
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,13 +13,13 @@ import usb.core
from enum import Enum
from diag import qcdiag
try:
from Library.utils import LogBase
from edl.Library.utils import LogBase
except Exception as e:
import os,sys,inspect
current_dir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
parent_dir = os.path.dirname(current_dir)
sys.path.insert(0, parent_dir)
from Library.utils import LogBase
from edl.Library.utils import LogBase
class vendor(Enum):
sierra = 0x1199