mirror of
https://gitlab.sectorq.eu/jaydee/python.git
synced 2025-12-14 10:44:52 +01:00
bitwarden
This commit is contained in:
@@ -93,20 +93,22 @@ if os.path.exists(_FULL_PATH):
|
|||||||
print(myCmd)
|
print(myCmd)
|
||||||
print(os.getcwd())
|
print(os.getcwd())
|
||||||
status, output = subprocess.getstatusoutput(myCmd)
|
status, output = subprocess.getstatusoutput(myCmd)
|
||||||
print(output)
|
#print(output)
|
||||||
print("Moving...")
|
print(status)
|
||||||
for p in parts:
|
if status == 0:
|
||||||
try:
|
print("Moving...")
|
||||||
shutil.move(p, _PROCESSED)
|
for p in parts:
|
||||||
except:
|
try:
|
||||||
print(f"Failed to move {p}")
|
shutil.move(p, _PROCESSED)
|
||||||
try:
|
except:
|
||||||
shutil.move(p.replace("MP4", "THM"), _PROCESSED)
|
print(f"Failed to move {p}")
|
||||||
except:
|
try:
|
||||||
print(f"Failed to move {p.replace("MP4", "THM")}")
|
shutil.move(p.replace("MP4", "THM"), _PROCESSED)
|
||||||
|
except:
|
||||||
try:
|
print(f"Failed to move {p.replace("MP4", "THM")}")
|
||||||
shutil.move(p.replace("MP4", "LRV").replace("GH","GL"), _PROCESSED)
|
|
||||||
except:
|
try:
|
||||||
print(f"Failed to move {p.replace("MP4", "LRV")}")
|
shutil.move(p.replace("MP4", "LRV").replace("GH","GL"), _PROCESSED)
|
||||||
|
except:
|
||||||
|
print(f"Failed to move {p.replace("MP4", "LRV")}")
|
||||||
|
|
||||||
Reference in New Issue
Block a user