commit da7623dd5e19302d979107e6b4d37242445ee431 parent 15c886106452f64bdb518acd51517462e8760ff7 Author: Antoine Amarilli <a3nm@a3nm.net> Date: Sun, 11 Oct 2015 01:54:22 +0200 fix leading / Diffstat:
common.py | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common.py b/common.py @@ -22,7 +22,7 @@ def url2res(relurl): except KeyError: pass if version: - return '/opinions/%s/versions/%s' % (opinion, version) + return 'opinions/%s/versions/%s' % (opinion, version) else: - return '/opinions/%s' % opinion + return 'opinions/%s' % opinion