diff options
author | khramshinr <khramshinr@gmail.com> | 2024-04-04 17:53:02 +0800 |
---|---|---|
committer | khramshinr <khramshinr@gmail.com> | 2024-04-04 17:53:02 +0800 |
commit | bec23808af82b0f84e8a7707bbd56839da2c48b0 (patch) | |
tree | 76fc891f155940e1574f416546500803bfbc7131 /src/op_mode/generate_tech-support_archive.py | |
parent | 8205e3cf918142a55e00c00dc241a6a30914fbd9 (diff) | |
download | vyos-1x-bec23808af82b0f84e8a7707bbd56839da2c48b0.tar.gz vyos-1x-bec23808af82b0f84e8a7707bbd56839da2c48b0.zip |
T6166: Tech support generation error for custom output location
Diffstat (limited to 'src/op_mode/generate_tech-support_archive.py')
-rwxr-xr-x | src/op_mode/generate_tech-support_archive.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/generate_tech-support_archive.py b/src/op_mode/generate_tech-support_archive.py index c490b0137..41b53cd15 100755 --- a/src/op_mode/generate_tech-support_archive.py +++ b/src/op_mode/generate_tech-support_archive.py @@ -120,7 +120,7 @@ if __name__ == '__main__': # Temporary directory creation tmp_dir_path = f'{tmp_path}/drops-debug_{time_now}' tmp_dir: Path = Path(tmp_dir_path) - tmp_dir.mkdir() + tmp_dir.mkdir(parents=True) report_file: Path = Path(f'{tmp_dir_path}/show_tech-support_report.txt') report_file.touch() |