diff --git a/src/strong.rs b/src/strong.rs index 43f36c7..f0241ce 100644 --- a/src/strong.rs +++ b/src/strong.rs @@ -6,7 +6,7 @@ use serde::Deserialize; pub fn get(query: &str) -> Option { // TODO Put this in a singleton - let file = read_to_string("./HebrewLexicon/HebrewStrong.xml").unwrap(); + let file = read_to_string("/usr/local/bible/HebrewStrong.xml").expect("Failed to get the strong xml file. It's expect to be at:\n/usr/local/bible/HebrewString.xml\n\n"); let obj: HebrewStrong = from_str(&file).unwrap(); // Yes, dumb search is ok. Searching for the last element took 2ms