Don't print escape characters directly
This commit is contained in:
parent
f71092058b
commit
23463522f0
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ def eprint(*args, **kwargs):
|
|||
def process_page(page):
|
||||
if page.namespace != 0:
|
||||
return
|
||||
eprint(f"{page.id:8} - {page.title}")
|
||||
eprint(f"{page.id:8} - {page.title!r}")
|
||||
|
||||
[revision] = list(page) # Every page has exactly one revision
|
||||
text = revision.text or ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue