xueyiming 5 днів тому
батько
коміт
6f34c12ca6
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      ad/pai_flow_operator_v3.py

+ 1 - 1
ad/pai_flow_operator_v3.py

@@ -120,7 +120,7 @@ def get_dates_between(start_date_str, end_date_str):
 def read_file_to_list():
     try:
         current_dir = os.getcwd()
-        file_path = os.path.join(current_dir, 'holidays.txt')
+        file_path = os.path.join(current_dir,  'ad', 'holidays.txt')
         with open(file_path, 'r', encoding='utf-8') as file:
             content = file.read()
             return content.split('\n')