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():
 def read_file_to_list():
     try:
     try:
         current_dir = os.getcwd()
         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:
         with open(file_path, 'r', encoding='utf-8') as file:
             content = file.read()
             content = file.read()
             return content.split('\n')
             return content.split('\n')