update
This commit is contained in:
@@ -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}'이(가) 존재하지 않습니다.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user