diff --git a/.github/workflows/check_categories.yaml b/.github/workflows/check_categories.yaml index 8b0817f8..aa36810d 100644 --- a/.github/workflows/check_categories.yaml +++ b/.github/workflows/check_categories.yaml @@ -6,7 +6,6 @@ on: - "plane-alert-db.csv" - "plane-alert-pia.csv" - "plane-alert-ukraine.csv" - - "plane_images.csv" jobs: checkCategories: diff --git a/scripts/export_categories.py b/scripts/export_categories.py index 99024143..a8234e49 100644 --- a/scripts/export_categories.py +++ b/scripts/export_categories.py @@ -20,7 +20,8 @@ .reset_index(drop=True) ) logging.info(f"Total Categories Count: ({category_unique_df.shape[0]}).") - + logging.info("Creating the plane-alert-categories.csv file.") + category_unique_df.to_csv( "plane-alert-categories.csv", mode="wb", @@ -28,4 +29,5 @@ header=True, encoding="utf8", lineterminator="\n", - ) \ No newline at end of file + ) + logging.info("File created successfully!") \ No newline at end of file