diff --git a/README.md b/README.md index 7c8b718..5f06743 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,6 @@ pg = Puppygirl( # parsed using the above config parsed = pg.fetch("index.html") -using open("dist/index.html", "w") as f: +with open("dist/index.html", "w") as f: f.write(parsed.prettify()) # parsed is a beautifulsoup4 object ```