style: use __path__ to import

Signed-off-by: YdrMaster <ydrml@hotmail.com>
This commit is contained in:
YdrMaster 2023-02-21 09:17:34 +08:00
parent 6a4de807e6
commit ce04177585
1 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,6 @@
import sys
from pathlib import Path
sys.path.append(str(Path(str(__file__)).parent))
sys.path.extend(__path__)
import backend