From: Ant Zucaro Date: Tue, 8 Nov 2016 23:24:00 +0000 (-0500) Subject: Reference the correct function. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=46d7a1fc9d3b1f83f79f139e7f7077a89c8a8bf7;p=xonotic%2Fxonstat.git Reference the correct function. --- 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):