summaryrefslogtreecommitdiffstats
path: root/ipsilon/util
diff options
context:
space:
mode:
Diffstat (limited to 'ipsilon/util')
-rwxr-xr-xipsilon/util/page.py4
-rwxr-xr-xipsilon/util/user.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/ipsilon/util/page.py b/ipsilon/util/page.py
index 15cbed0..a99ece8 100755
--- a/ipsilon/util/page.py
+++ b/ipsilon/util/page.py
@@ -17,7 +17,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-from util import user
+from ipsilon.util.user import User
import cherrypy
def protect():
@@ -37,7 +37,7 @@ class Page(object):
def __call__(self, *args, **kwargs):
self.username = cherrypy.session.get('user', None)
- self.user = user.User(self.username)
+ self.user = User(self.username)
if len(args) > 0:
op = getattr(self, args[0], None)
diff --git a/ipsilon/util/user.py b/ipsilon/util/user.py
index 1241340..3b58724 100755
--- a/ipsilon/util/user.py
+++ b/ipsilon/util/user.py
@@ -17,7 +17,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-from util import data
+from ipsilon.util.data import Store
class Site(object):
def __init__(self, value):
@@ -35,7 +35,7 @@ class User(object):
self.name = username
def _get_user_data(self, username):
- store = data.Store()
+ store = Store()
return store._get_user_preferences(username)
@property