This commit is contained in:
unknown
2026-03-21 07:26:38 +09:00
parent 166d94fca4
commit 40150cd66d
406 changed files with 34179 additions and 55658 deletions
+2 -1
View File
@@ -31,7 +31,8 @@ def zip_selected_files(folder_path, file_list, output_zip):
# /app/idrac_info/backup/ 폴더 내 폴더를 나열하고 사용자 선택 받는 함수
def select_folder():
base_path = "/data/app/idrac_info/data/backup/"
# Assume script is in data/server_list, backup is in data/system/backup
base_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "system", "backup")
if not os.path.isdir(base_path):
raise ValueError(f"기본 경로 '{base_path}'이(가) 존재하지 않습니다.")