fix: 修改相对模块引入
This commit is contained in:
@@ -3,10 +3,10 @@ from typing import Dict, List, Tuple
|
|||||||
from reportlab.lib.pagesizes import letter
|
from reportlab.lib.pagesizes import letter
|
||||||
from reportlab.lib.styles import getSampleStyleSheet
|
from reportlab.lib.styles import getSampleStyleSheet
|
||||||
from reportlab.platypus import Paragraph, Spacer, SimpleDocTemplate
|
from reportlab.platypus import Paragraph, Spacer, SimpleDocTemplate
|
||||||
from detection.Regexdetection import find_dangerous_functions
|
from .Regexdetection import find_dangerous_functions
|
||||||
from detection.GPTdetection import detectGPT
|
from .GPTdetection import detectGPT
|
||||||
from detection.utils import *
|
from .utils import *
|
||||||
from detection.pyc_detection import disassemble_pyc
|
from .pyc_detection import disassemble_pyc
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
SUPPORTED_EXTENSIONS = {".py", ".js", ".cpp", ".pyc"}
|
SUPPORTED_EXTENSIONS = {".py", ".js", ".cpp", ".pyc"}
|
||||||
|
Reference in New Issue
Block a user