summaryrefslogtreecommitdiffstats
path: root/src/cmd/sync.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/sync.rs')
-rw-r--r--src/cmd/sync.rs4
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);