Skip to content

Commit

Permalink
Actually use source path
Browse files Browse the repository at this point in the history
  • Loading branch information
kylerchin committed Mar 21, 2024
1 parent 97e9e12 commit 8e16878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/maple/gtfs_handlers/flatten.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub fn flatten_feed(feed_id: &str) -> Result<(), Box<dyn Error>> {
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<u8> = vec![];

// read bytes and pass back error if unable to read
Expand Down

0 comments on commit 8e16878

Please sign in to comment.