Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Al-Saffar committed Dec 12, 2024
1 parent 9546650 commit b2571b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion myresources/crocodile/file_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -791,8 +791,8 @@ def to_cloud(self, cloud: str, remotepath: OPLike = None, zip: bool = False,encr
if verbose: print(f"{'⬆️'*5} UPLOADING with `{rclone_cmd}`")
res = Terminal(stdout=None if verbose else subprocess.PIPE).run(rclone_cmd, shell="powershell").capture()
_ = [item.delete(sure=True) for item in to_del]
if verbose: print(f"{'⬆️'*5} UPLOAD COMPLETED.")
assert res.is_successful(strict_err=False, strict_returcode=True), res.print(capture=False, desc="Cloud Storage Operation")
if verbose: print(f"{'⬆️'*5} UPLOAD COMPLETED.")
if share:
if verbose: print("🔗 SHARING FILE")
res = Terminal().run(f"""rclone link '{cloud}:{rp.as_posix()}'""", shell="powershell").capture()
Expand Down

0 comments on commit b2571b2

Please sign in to comment.