4040# Set up file path for CSV report
4141DATA_WRITE_FILE = os .path .join (
4242 PATH_WORK_DIR ,
43- f"/ data_google_custom_search_"
43+ " data_google_custom_search_"
4444 f"{ DATETIME_TODAY .year } _{ DATETIME_TODAY .month } _{ DATETIME_TODAY .day } .csv" ,
4545)
4646DATA_WRITE_FILE_TIME = os .path .join (
4747 PATH_WORK_DIR ,
48- f"/ data_google_custom_search_time_"
48+ " data_google_custom_search_time_"
4949 f"{ DATETIME_TODAY .year } _{ DATETIME_TODAY .month } _{ DATETIME_TODAY .day } .csv" ,
5050)
5151DATA_WRITE_FILE_COUNTRY = os .path .join (
5252 PATH_WORK_DIR ,
53- f"/ data_google_custom_search_country_"
53+ " data_google_custom_search_country_"
5454 f"{ DATETIME_TODAY .year } _{ DATETIME_TODAY .month } _{ DATETIME_TODAY .day } .csv" ,
5555)
5656
@@ -69,7 +69,7 @@ def get_license_list():
6969 """
7070 # Read license data from file
7171 cc_license_data = pd .read_csv (
72- f" { PATH_REPO_ROOT } / legal-tool-paths.txt" , header = None
72+ os . path . join ( PATH_REPO_ROOT , " legal-tool-paths.txt") , header = None
7373 )
7474 # Define regex pattern to extract license types
7575 license_pattern = r"((?:[^/]+/){2}(?:[^/]+)).*"
@@ -97,7 +97,7 @@ def get_lang_list():
9797 )
9898
9999 languages = pd .read_csv (
100- f" { PATH_WORK_DIR } / google_lang.txt" ,
100+ os . path . join ( PATH_WORK_DIR , " google_lang.txt") ,
101101 sep = ": " ,
102102 header = None ,
103103 engine = "python" ,
0 commit comments