Functions-d 1.40__tar.gz → 1.41__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {functions_d-1.40 → functions_d-1.41}/Functions_d/Functions_d.py +3 -1
- {functions_d-1.40 → functions_d-1.41}/Functions_d.egg-info/PKG-INFO +1 -1
- {functions_d-1.40 → functions_d-1.41}/PKG-INFO +1 -1
- {functions_d-1.40 → functions_d-1.41}/setup.cfg +1 -1
- {functions_d-1.40 → functions_d-1.41}/Functions_d/__init__.py +0 -0
- {functions_d-1.40 → functions_d-1.41}/Functions_d.egg-info/SOURCES.txt +0 -0
- {functions_d-1.40 → functions_d-1.41}/Functions_d.egg-info/dependency_links.txt +0 -0
- {functions_d-1.40 → functions_d-1.41}/Functions_d.egg-info/requires.txt +0 -0
- {functions_d-1.40 → functions_d-1.41}/Functions_d.egg-info/top_level.txt +0 -0
- {functions_d-1.40 → functions_d-1.41}/README.md +0 -0
- {functions_d-1.40 → functions_d-1.41}/pyproject.toml +0 -0
- {functions_d-1.40 → functions_d-1.41}/setup.py +0 -0
|
@@ -122,7 +122,9 @@ class DataProcessingAndMessaging:
|
|
|
122
122
|
|
|
123
123
|
# -------------------------- 初始化Edge驱动 --------------------------
|
|
124
124
|
def init_edge_driver(self, headless=True):
|
|
125
|
-
|
|
125
|
+
import sys
|
|
126
|
+
if sys.platform == "win32":
|
|
127
|
+
os.environ['WDM_ARCH'] = 'x86' # 只有 Windows 才强制32位驱动
|
|
126
128
|
edge_options = Options()
|
|
127
129
|
edge_options.add_argument('--disable-gpu')
|
|
128
130
|
edge_options.add_argument('--no-sandbox')
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|