From 1b0a74e188fb49987a54c5077470d11490f479cd Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Tue, 18 Feb 2014 17:34:14 +0100 Subject: [PATCH] expand db path, closes #68 --- isso/db/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/isso/db/__init__.py b/isso/db/__init__.py index 1a0c02b..ef34e1a 100644 --- a/isso/db/__init__.py +++ b/isso/db/__init__.py @@ -2,6 +2,7 @@ import sqlite3 import logging +import os.path logger = logging.getLogger("isso") @@ -21,7 +22,7 @@ class SQLite3: def __init__(self, path, conf): - self.path = path + self.path = os.path.expanduser(path) self.conf = conf rv = self.execute([