diff --git a/src/maple/gtfs_handlers/flatten.rs b/src/maple/gtfs_handlers/flatten.rs index 2a087cb1..cc07e7f5 100644 --- a/src/maple/gtfs_handlers/flatten.rs +++ b/src/maple/gtfs_handlers/flatten.rs @@ -12,7 +12,7 @@ pub fn flatten_feed(feed_id: &str) -> Result<(), Box> { let target_path = format!("gtfs_uncompressed/{}", feed_id); // Attempt to open file and pass back error if failed - let mut file = File::open("foo.txt")?; + let mut file = File::open(source_path)?; let mut buf: Vec = vec![]; // read bytes and pass back error if unable to read