From 3c86c9be6f6c6a0f188cd8156bffc5909b895c2b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 21 Mar 2019 20:40:28 +0530 Subject: [PATCH] pep8 --- src/calibre/gui2/store/stores/smashwords_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/store/stores/smashwords_plugin.py b/src/calibre/gui2/store/stores/smashwords_plugin.py index 6d97da40ea..753af70569 100644 --- a/src/calibre/gui2/store/stores/smashwords_plugin.py +++ b/src/calibre/gui2/store/stores/smashwords_plugin.py @@ -57,7 +57,7 @@ def search(query, max_results=10, timeout=60): if 'Price:' in price: try: price = price.partition('Price:')[2] - price = re.sub('\s', ' ', price).strip() + price = re.sub(r'\s', ' ', price).strip() price = price.split(' ')[0].strip() except Exception: price = 'Unknown'