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.
@@ -122,7 +122,9 @@ class DataProcessingAndMessaging:
122
122
 
123
123
  # -------------------------- 初始化Edge驱动 --------------------------
124
124
  def init_edge_driver(self, headless=True):
125
- os.environ['WDM_ARCH'] = 'x86' # 强制32位驱动
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')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Functions_d
3
- Version: 1.40
3
+ Version: 1.41
4
4
  Summary: 包含数据处理、Hive交互、企业微信消息发送、Excel操作等功能的工具类库
5
5
  Author: DongYang
6
6
  Author-email: 649898871@qq.com
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Functions_d
3
- Version: 1.40
3
+ Version: 1.41
4
4
  Summary: 包含数据处理、Hive交互、企业微信消息发送、Excel操作等功能的工具类库
5
5
  Author: DongYang
6
6
  Author-email: 649898871@qq.com
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = Functions_d
3
- version = 1.40
3
+ version = 1.41
4
4
  author = DongYang
5
5
  author_email = 649898871@qq.com
6
6
  description = 包含数据处理、Hive交互、企业微信消息发送、Excel操作等功能的工具类库
File without changes
File without changes
File without changes