diff options
| author | Alex Schofield <git@ajschof.me> | 2026-05-04 20:40:33 +0100 |
|---|---|---|
| committer | Alex Schofield <git@ajschof.me> | 2026-05-04 20:40:33 +0100 |
| commit | 683d05d4f77d1ddf0d753c627610aed0f1a4eaae (patch) | |
| tree | 038f9f26646ac2d9228b116c424ef13457228ee8 /fnme/cli.py | |
| parent | 46a79b467f580df24ac508ad6dbc37cffcf4b7cc (diff) | |
| download | fuelnearme-683d05d4f77d1ddf0d753c627610aed0f1a4eaae.tar.gz fuelnearme-683d05d4f77d1ddf0d753c627610aed0f1a4eaae.zip | |
rename filter_df() to process_stations() for clarity
Diffstat (limited to 'fnme/cli.py')
| -rw-r--r-- | fnme/cli.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fnme/cli.py b/fnme/cli.py index d9ef508..385af76 100644 --- a/fnme/cli.py +++ b/fnme/cli.py @@ -7,7 +7,7 @@ from tabulate import tabulate from fnme.constants import SORT_KV from fnme.data import get_latest_data from fnme.geo import get_location -from fnme.station import filter_df, sort_stations +from fnme.station import process_stations, sort_stations def parse_args() -> argparse.Namespace: @@ -49,7 +49,7 @@ def main(): print(f"Last updated: {last_modified}") - df_filtered = filter_df(df, args, location) + df_filtered = process_stations(df, args, location) sorted_stations_list = sort_stations(df_filtered, args.sort) |
