diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-11-10 02:44:48 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-11-10 02:44:48 -0500 |
commit | 5271c8503199ea6e14f298743b28f2262a7e216a (patch) | |
tree | a623ee230049a0c4fe5e5cedde967dcd79b5d0a0 /src/cmd/sync.rs | |
parent | ef7cd5bc677c6aabf5517e74ab64eb84d4784057 (diff) | |
download | lastfm-query-5271c8503199ea6e14f298743b28f2262a7e216a.tar.gz lastfm-query-5271c8503199ea6e14f298743b28f2262a7e216a.zip |
rename paths to util, and add more stuff to it
Diffstat (limited to 'src/cmd/sync.rs')
-rw-r--r-- | src/cmd/sync.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/sync.rs b/src/cmd/sync.rs index 5b71954..99e39f7 100644 --- a/src/cmd/sync.rs +++ b/src/cmd/sync.rs @@ -1,6 +1,6 @@ use db; use lastfm; -use paths; +use util; use clap; @@ -28,7 +28,7 @@ impl Command { impl super::Command for Command { fn run(&self) -> failure::Fallible<()> { - let db = db::DB::new(&paths::db_path()?)?; + let db = db::DB::new(&util::db_path()?)?; let lastfm = lastfm::LastFMClient::new(&self.username)?; let from = db.most_recent_timestamp()?.map(|x| x + 1); |