From 200a3cba714680845fd89a08cba53d0b5d8aec11 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 13 Aug 2020 09:04:44 +0530 Subject: [PATCH] fixes from static checking --- recipes/daum_net.recipe | 2 +- recipes/la_stampa.recipe | 4 ++-- src/calibre/devices/cli.py | 2 +- src/calibre/ebooks/metadata/sources/ozon.py | 2 +- src/calibre/ebooks/mobi/writer8/index.py | 2 +- src/calibre/srv/render_book.py | 2 +- src/pyj/read_book/iframe.pyj | 13 +++++-------- src/pyj/read_book/paged_mode.pyj | 4 +--- 8 files changed, 13 insertions(+), 18 deletions(-) diff --git a/recipes/daum_net.recipe b/recipes/daum_net.recipe index 97b17e7016..a6590bb2d5 100644 --- a/recipes/daum_net.recipe +++ b/recipes/daum_net.recipe @@ -45,7 +45,7 @@ class MediaDaumRecipe(BasicNewsRecipe): lambda match: ''), (re.compile(r'(]*>[ \t\r\n]*)*', re.DOTALL | re.IGNORECASE), lambda match: ''), - (re.compile(u'\(\uB05D\)[ \t\r\n]*]*>.*', re.DOTALL | re.IGNORECASE), + (re.compile(r'\(\uB05D\)[ \t\r\n]*]*>.*', re.DOTALL | re.IGNORECASE), lambda match: ''), (re.compile(r'(]*>[ \t\r\n]*)*