From 47ff1fb4cd7a6c416c93246decacd19628b232c3 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 24 Jan 2014 15:57:28 -0500 Subject: Fix Imports Based on patches by Petr Voborni Signed-off-by: Simo Sorce --- ipsilon/util/page.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipsilon/util/page.py') 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 . -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) -- cgit