fix/ci-deploy-reset #21
@@ -4,20 +4,11 @@
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import sys
|
|
||||||
import os
|
import os
|
||||||
from typing import Dict, Optional, Any
|
from typing import Dict, Optional, Any
|
||||||
from urllib.parse import urlparse
|
from urllib.parse import urlparse
|
||||||
|
|
||||||
# 添加当前目录到 Python 路径以支持绝对导入
|
|
||||||
current_dir = os.path.dirname(os.path.abspath(__file__))
|
|
||||||
if current_dir not in sys.path:
|
|
||||||
sys.path.insert(0, current_dir)
|
|
||||||
|
|
||||||
try:
|
|
||||||
from .markdown_converter import MarkdownConverter
|
from .markdown_converter import MarkdownConverter
|
||||||
except ImportError:
|
|
||||||
from markdown_converter import MarkdownConverter
|
|
||||||
|
|
||||||
|
|
||||||
class PlaywrightBrowser:
|
class PlaywrightBrowser:
|
||||||
|
|||||||
Reference in New Issue
Block a user