瀏覽代碼

[fix] debug print removed

asciimoo 11 年之前
父節點
當前提交
77b936e3be
共有 1 個檔案被更改,包括 0 行新增1 行删除
  1. 0
    1
      searx/webapp.py

+ 0
- 1
searx/webapp.py 查看文件

140
                                        .strip().split())
140
                                        .strip().split())
141
         if len(result['url']) > 74:
141
         if len(result['url']) > 74:
142
             url_parts = result['url'][:35], result['url'][-35:]
142
             url_parts = result['url'][:35], result['url'][-35:]
143
-            print url_parts
144
             result['pretty_url'] = u'{0}[...]{1}'.format(*url_parts)
143
             result['pretty_url'] = u'{0}[...]{1}'.format(*url_parts)
145
         else:
144
         else:
146
             result['pretty_url'] = result['url']
145
             result['pretty_url'] = result['url']