This commit is contained in:
parent
c60fe31906
commit
d7f3bfa681
1 changed files with 1 additions and 1 deletions
2
soup.py
2
soup.py
|
@ -218,7 +218,7 @@ def write_backlinks(backlinks_dict):
|
||||||
|
|
||||||
parse_node_backlink(i)
|
parse_node_backlink(i)
|
||||||
|
|
||||||
with open(backlinks_dict[page]["path"], 'r+') as f:
|
with open(backlinks_dict[page]["path"], "w", encoding="utf-8") as f:
|
||||||
f.write(str(soup))
|
f.write(str(soup))
|
||||||
print("write " + page + '!')
|
print("write " + page + '!')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue