diff options
author | Pierre-Yves Chibon <pingou@pingoured.fr> | 2012-04-23 19:21:23 +0200 |
---|---|---|
committer | Pierre-Yves Chibon <pingou@pingoured.fr> | 2012-04-23 19:21:23 +0200 |
commit | a5599040601668b2cdb46c80e9e6380495a93ce9 (patch) | |
tree | 1269715defe48f3cacf4ba77e5702845cb3cc11d | |
parent | d38d30431539c413fc72e5430822c6d51757d4af (diff) | |
download | hyperkitty-a5599040601668b2cdb46c80e9e6380495a93ce9.tar.gz hyperkitty-a5599040601668b2cdb46c80e9e6380495a93ce9.tar.xz hyperkitty-a5599040601668b2cdb46c80e9e6380495a93ce9.zip |
Even more improvement on the pagination system
-rw-r--r-- | templatetags/poll_extras.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templatetags/poll_extras.py b/templatetags/poll_extras.py index 720fb59..bdfbbc5 100644 --- a/templatetags/poll_extras.py +++ b/templatetags/poll_extras.py @@ -36,7 +36,7 @@ def strip_page(value): print repr(value), repr(value)[-2] if not value: return value - if value.endswith('/'): + if value.endswith('/') and value[-3] == '/': end_with_number = False try: if int(value[-2]) in range(0,10): |