From 46d7a1fc9d3b1f83f79f139e7f7077a89c8a8bf7 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Tue, 8 Nov 2016 18:24:00 -0500 Subject: [PATCH] Reference the correct function. --- xonstat/util.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xonstat/util.py b/xonstat/util.py index 5430fe1..4ed6aee 100644 --- a/xonstat/util.py +++ b/xonstat/util.py @@ -1,6 +1,7 @@ import sys import logging import pyramid.httpexceptions +import pyramid.url import re from colorsys import rgb_to_hls, hls_to_rgb from cgi import escape as html_escape @@ -228,7 +229,7 @@ def limit_printable_characters(qstr, limit): def page_url(page): - return current_route_url(request, page=page, _query=request.GET) + return pyramid.url.current_route_url(request, page=page, _query=request.GET) def pretty_date(time=False): -- 2.39.2