mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-21 16:23:25 +02:00
py3 compat
This commit is contained in:
parent
a8c3ebe418
commit
27811374ba
1 changed files with 1 additions and 1 deletions
|
|
@ -805,7 +805,7 @@ def check_website(self):
|
|||
for f in errfiles:
|
||||
with open(f, 'r+b') as f:
|
||||
raw = f.read()
|
||||
raw = re.sub(rb'# \(pofilter\).*', '', raw)
|
||||
raw = re.sub(rb'# \(pofilter\).*', b'', raw)
|
||||
f.seek(0)
|
||||
f.truncate()
|
||||
f.write(raw)
|
||||
|
|
|
|||
Loading…
Reference in a new issue