Skip to content
Snippets Groups Projects
Commit 73df413f authored by Andreas Gattringer's avatar Andreas Gattringer
Browse files

upload scripts: minor repairs

parent 30441f31
Branches
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ def upload_file(port: str, local_path: str, remote_path: str | None = None): ...@@ -17,7 +17,7 @@ def upload_file(port: str, local_path: str, remote_path: str | None = None):
def list_remote_file_dates_and_directories(port): def list_remote_file_dates_and_directories(port):
cmd = ["ampy", "--port", port, "run", "tools/list-files.py"] cmd = ["ampy", "--port", port, "run", "umnp/tools/list-files.py"]
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE) proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
files = {} files = {}
dirs = [] dirs = []
......
import os import os
import time
def human_readable_time(timestamp: int): def human_readable_time(timestamp: int):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment