Skip to content

Commit

Permalink
fix: fixed pit stop file name
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-cne committed Jul 2, 2024
1 parent 96e01e1 commit a6d64fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion updater/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ fn lap_times(race_id: i32, tx: &mut Transaction) -> anyhow::Result<()> {
}

fn pit_stops(race_id: i32, tx: &mut Transaction) -> anyhow::Result<()> {
let file = "/etc/csv/pit_stops.csv";
let file = "/etc/csv/race_pit_stops.csv";
let mut rdr = csv::Reader::from_path(file)?;

for r in rdr.deserialize::<models::PitStop>() {
Expand Down

0 comments on commit a6d64fc

Please sign in to comment.