summaryrefslogtreecommitdiffstats
path: root/ipsilon/util/page.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipsilon/util/page.py')
-rwxr-xr-xipsilon/util/page.py4
1 files changed, 2 insertions, 2 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)