Update jst_id_search.py

prahul11 2023-11-06 15:43:47 +05:30
parent bbe258eabd
commit 56ff505c67
1 changed files with 3 additions and 3 deletions

View File

@ -87,10 +87,10 @@ def search_jst_id(csv_file):
if __name__ == "__main__": if __name__ == "__main__":
import sys # import sys
sys.path.append('..') # Add the grandparent directory to the Python path # sys.path.append('..') # Add the grandparent directory to the Python path
import datetime import datetime
from .common_task import do_the_difference, find_second_latest_file from common_task import do_the_difference, find_second_latest_file
current_date = datetime.datetime.now().date() current_date = datetime.datetime.now().date()
today_date = current_date.strftime('%d-%m-%Y') today_date = current_date.strftime('%d-%m-%Y')
search_file = f"indonesia_data/daily_search_results/id_search_{today_date}.csv" search_file = f"indonesia_data/daily_search_results/id_search_{today_date}.csv"