mdbq 2.2.0__py3-none-any.whl → 2.2.1__py3-none-any.whl

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.
mdbq/company/copysh.py CHANGED
@@ -255,9 +255,10 @@ class TbFiles:
255
255
  # 刷新共享位置的指定文件/文件夹
256
256
  excel_path = os.path.join(self.share_path, 'EXCEL报表')
257
257
  files = os.listdir(excel_path)
258
+ files = [f'{excel_path}\\{item}' for item in files if item.endswith('.xlsx') or item.endswith('.xls')]
258
259
  r = refresh_all.RefreshAll()
259
260
  for file in files:
260
- if '~' in file or 'DS_Store' in file or 'baidu' in file or 'xunlei' in name:
261
+ if '~' in file or 'DS_Store' in file or 'baidu' in file or 'xunlei' in file:
261
262
  continue
262
263
  if file.endswith('.xlsx') or file.endswith('.xls'):
263
264
  r.refresh_excel(file=file)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mdbq
3
- Version: 2.2.0
3
+ Version: 2.2.1
4
4
  Home-page: https://pypi.org/project/mdbsql
5
5
  Author: xigua,
6
6
  Author-email: 2587125111@qq.com
@@ -11,7 +11,7 @@ mdbq/bdup/bdup.py,sha256=LAV0TgnQpc-LB-YuJthxb0U42_VkPidzQzAagan46lU,4234
11
11
  mdbq/clean/__init__.py,sha256=A1d6x3L27j4NtLgiFV5TANwEkLuaDfPHDQNrPBbNWtU,41
12
12
  mdbq/clean/data_clean.py,sha256=ZJOTT0sNWP85x4pJl39UZBwN4Bnf8Ao-iVOJNiiRPEE,103996
13
13
  mdbq/company/__init__.py,sha256=qz8F_GsP_pMB5PblgJAUAMjasuZbOEp3qQOCB39E8f0,21
14
- mdbq/company/copysh.py,sha256=tHXG1qgJeFtBaVrGeWkI970hRcJkaYFR5eFOXPZ5tbk,18936
14
+ mdbq/company/copysh.py,sha256=LYMONSIX2EoPyDQqFODRfIZ2TJtNQBKEeWXCbawTraI,19048
15
15
  mdbq/company/home_sh.py,sha256=42CZ2tZIXHLl2mOl2gk2fZnjH2IHh1VJ1s3qHABjonY,18021
16
16
  mdbq/config/__init__.py,sha256=jso1oHcy6cJEfa7udS_9uO5X6kZLoPBF8l3wCYmr5dM,18
17
17
  mdbq/config/get_myconf.py,sha256=cmNvsyoNa0RbZ9FOTjSd3jyyGwkxjUo0phvdHbGlrms,6010
@@ -38,7 +38,7 @@ mdbq/pbix/pbix_refresh.py,sha256=JUjKW3bNEyoMVfVfo77UhguvS5AWkixvVhDbw4_MHco,239
38
38
  mdbq/pbix/refresh_all.py,sha256=M8g42JEJuKnSgugHIG9ZkLXrm3KPHYRKi2Uv0XYlKnE,5499
39
39
  mdbq/pbix/refresh_all_old.py,sha256=_pq3WSQ728GPtEG5pfsZI2uTJhU8D6ra-htIk1JXYzw,7192
40
40
  mdbq/spider/__init__.py,sha256=RBMFXGy_jd1HXZhngB2T2XTvJqki8P_Fr-pBcwijnew,18
41
- mdbq-2.2.0.dist-info/METADATA,sha256=1jOdpjxjlFyRAFFoFUYXFOa_eNuIT4-HcaZT5evltoc,245
42
- mdbq-2.2.0.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
43
- mdbq-2.2.0.dist-info/top_level.txt,sha256=2FQ-uLnCSB-OwFiWntzmwosW3X2Xqsg0ewh1axsaylA,5
44
- mdbq-2.2.0.dist-info/RECORD,,
41
+ mdbq-2.2.1.dist-info/METADATA,sha256=9k0-Dze1iVspgpsGXhg_EWjKuc2FrKtYFw-mjf1HVSk,245
42
+ mdbq-2.2.1.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
43
+ mdbq-2.2.1.dist-info/top_level.txt,sha256=2FQ-uLnCSB-OwFiWntzmwosW3X2Xqsg0ewh1axsaylA,5
44
+ mdbq-2.2.1.dist-info/RECORD,,
File without changes