summaryrefslogtreecommitdiffstats
path: root/src/lastfm/mod.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-11-10 02:44:48 -0500
committerJesse Luehrs <doy@tozt.net>2018-11-10 02:44:48 -0500
commit5271c8503199ea6e14f298743b28f2262a7e216a (patch)
treea623ee230049a0c4fe5e5cedde967dcd79b5d0a0 /src/lastfm/mod.rs
parentef7cd5bc677c6aabf5517e74ab64eb84d4784057 (diff)
downloadlastfm-query-5271c8503199ea6e14f298743b28f2262a7e216a.tar.gz
lastfm-query-5271c8503199ea6e14f298743b28f2262a7e216a.zip
rename paths to util, and add more stuff to it
Diffstat (limited to 'src/lastfm/mod.rs')
-rw-r--r--src/lastfm/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lastfm/mod.rs b/src/lastfm/mod.rs
index b5888cc..081038a 100644
--- a/src/lastfm/mod.rs
+++ b/src/lastfm/mod.rs
@@ -1,4 +1,4 @@
-use paths;
+use util;
use failure::Fail;
use std::io::{Read, Write};
@@ -158,7 +158,7 @@ impl LastFMClient {
}
fn find_api_key() -> failure::Fallible<String> {
- let api_key_path = paths::api_key_path()
+ let api_key_path = util::api_key_path()
.map_err(|e| e.context("failed to determine api key path"))?;
let api_key = if api_key_path.exists() {
let mut api_key = String::new();