summaryrefslogtreecommitdiffstats
path: root/src/cmd/sql.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/cmd/sql.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/cmd/sql.rs')
-rw-r--r--src/cmd/sql.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/sql.rs b/src/cmd/sql.rs
index d31f326..8332164 100644
--- a/src/cmd/sql.rs
+++ b/src/cmd/sql.rs
@@ -1,5 +1,5 @@
use db;
-use paths;
+use util;
use clap;
@@ -34,7 +34,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 rows_cell = std::cell::Cell::new(Some(vec![]));
let cols = db.query(&self.query, |row| {