forked from Ponysearch/Ponysearch
[fix] debug print removed
This commit is contained in:
parent
5f8ae9b965
commit
77b936e3be
1 changed files with 0 additions and 1 deletions
|
@ -140,7 +140,6 @@ def index():
|
||||||
.strip().split())
|
.strip().split())
|
||||||
if len(result['url']) > 74:
|
if len(result['url']) > 74:
|
||||||
url_parts = result['url'][:35], result['url'][-35:]
|
url_parts = result['url'][:35], result['url'][-35:]
|
||||||
print url_parts
|
|
||||||
result['pretty_url'] = u'{0}[...]{1}'.format(*url_parts)
|
result['pretty_url'] = u'{0}[...]{1}'.format(*url_parts)
|
||||||
else:
|
else:
|
||||||
result['pretty_url'] = result['url']
|
result['pretty_url'] = result['url']
|
||||||
|
|
Loading…
Reference in a new issue