taotoolkit 1.0.5__tar.gz → 1.0.7__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.
- {taotoolkit-1.0.5 → taotoolkit-1.0.7}/PKG-INFO +1 -1
- {taotoolkit-1.0.5 → taotoolkit-1.0.7}/pyproject.toml +1 -1
- {taotoolkit-1.0.5 → taotoolkit-1.0.7}/taotoolkit/tao_camDvt.py +2 -2
- {taotoolkit-1.0.5 → taotoolkit-1.0.7}/taotoolkit/tao_common.py +3 -0
- {taotoolkit-1.0.5 → taotoolkit-1.0.7}/taotoolkit/tao_tuning.py +1 -1
- {taotoolkit-1.0.5 → taotoolkit-1.0.7}/taotoolkit.egg-info/PKG-INFO +1 -1
- {taotoolkit-1.0.5 → taotoolkit-1.0.7}/README.md +0 -0
- {taotoolkit-1.0.5 → taotoolkit-1.0.7}/setup.cfg +0 -0
- {taotoolkit-1.0.5 → taotoolkit-1.0.7}/taotoolkit/__init__.py +0 -0
- {taotoolkit-1.0.5 → taotoolkit-1.0.7}/taotoolkit/asrVrf.py +0 -0
- {taotoolkit-1.0.5 → taotoolkit-1.0.7}/taotoolkit/tao_cmdTool.py +0 -0
- {taotoolkit-1.0.5 → taotoolkit-1.0.7}/taotoolkit/tao_device.py +0 -0
- {taotoolkit-1.0.5 → taotoolkit-1.0.7}/taotoolkit/tao_flash.py +0 -0
- {taotoolkit-1.0.5 → taotoolkit-1.0.7}/taotoolkit/tao_vrfTool.py +0 -0
- {taotoolkit-1.0.5 → taotoolkit-1.0.7}/taotoolkit.egg-info/SOURCES.txt +0 -0
- {taotoolkit-1.0.5 → taotoolkit-1.0.7}/taotoolkit.egg-info/dependency_links.txt +0 -0
- {taotoolkit-1.0.5 → taotoolkit-1.0.7}/taotoolkit.egg-info/requires.txt +0 -0
- {taotoolkit-1.0.5 → taotoolkit-1.0.7}/taotoolkit.egg-info/top_level.txt +0 -0
|
@@ -940,8 +940,8 @@ class CamDvt(asrCamOp):
|
|
|
940
940
|
fullpath1 = os.path.join(outPath, ch1)
|
|
941
941
|
newfile0 = os.path.join(outPath, str(posCode) + "_L.vrf")
|
|
942
942
|
newfile1 = os.path.join(outPath, str(posCode) + "_R.vrf")
|
|
943
|
-
renameFile(
|
|
944
|
-
renameFile(
|
|
943
|
+
renameFile(fullpath0, newfile0)
|
|
944
|
+
renameFile(fullpath1, newfile1)
|
|
945
945
|
else:
|
|
946
946
|
print("抓取vrf失败")
|
|
947
947
|
sys.exit()
|
|
@@ -200,6 +200,9 @@ def removeAnyContainStr(string: str, subStringList: list, matchCase=True) -> Lis
|
|
|
200
200
|
|
|
201
201
|
|
|
202
202
|
def renameFile(old_path: str, new_path: str) -> None:
|
|
203
|
+
logd("Rename file:", old_path, "to", new_path)
|
|
204
|
+
if os.path.exists(new_path):
|
|
205
|
+
os.remove(new_path)
|
|
203
206
|
os.rename(old_path, new_path)
|
|
204
207
|
|
|
205
208
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|