From 6d55cf1e4272853b307078cc8714266b7a435741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20D=C5=82ugosz?= Date: Thu, 22 Mar 2012 20:38:09 +0100 Subject: [PATCH] simplify url generation --- src/calibre/gui2/store/stores/woblink_plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/store/stores/woblink_plugin.py b/src/calibre/gui2/store/stores/woblink_plugin.py index e9696b39a6..0786109ac6 100644 --- a/src/calibre/gui2/store/stores/woblink_plugin.py +++ b/src/calibre/gui2/store/stores/woblink_plugin.py @@ -43,9 +43,9 @@ class WoblinkStore(BasicStoreConfig, StorePlugin): url = 'http://woblink.com/publication?query=' + urllib.quote_plus(query.encode('utf-8')) if max_results > 10: if max_results > 20: - url += '&limit=' + str(30) + url += '&limit=30' else: - url += '&limit=' + str(20) + url += '&limit=20' br = browser()