diff options
| author | Christian Breunig <christian@breunig.cc> | 2023-10-20 22:00:37 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-20 22:00:37 +0200 | 
| commit | c60ca82cb24279c1120d10d515166f6f0424feb3 (patch) | |
| tree | bb037e72fe27152f7033bd78429e3d24411acfb0 | |
| parent | 66668aa3b5c64ac1ed9acf3100237309865d732a (diff) | |
| parent | cd54195d070e49aa084c325b83a71621a4011c97 (diff) | |
| download | vyos-1x-c60ca82cb24279c1120d10d515166f6f0424feb3.tar.gz vyos-1x-c60ca82cb24279c1120d10d515166f6f0424feb3.zip | |
Merge pull request #2384 from srividya0208/T5642-1
T5642: op-cmd: correction of generated file name
| -rwxr-xr-x | src/op_mode/generate_tech-support_archive.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/op_mode/generate_tech-support_archive.py b/src/op_mode/generate_tech-support_archive.py index 23d81f986..c490b0137 100755 --- a/src/op_mode/generate_tech-support_archive.py +++ b/src/op_mode/generate_tech-support_archive.py @@ -100,7 +100,7 @@ if __name__ == '__main__':      location_path = args.path[:-1] if args.path[-1] == '/' else args.path      hostname: str = gethostname() -    time_now: str = datetime.now().isoformat(timespec='seconds') +    time_now: str = datetime.now().isoformat(timespec='seconds').replace(":", "-")      remote = False      tmp_path = '' @@ -145,4 +145,4 @@ if __name__ == '__main__':              rmtree(tmp_dir)      finally:          # cleanup -        exit()
\ No newline at end of file +        exit() | 
