Skip to content

Commit

Permalink
Fix typo in open file
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Oct 28, 2024
1 parent e3f051c commit 33e0577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geoportal/c2cgeoportal_geoportal/views/entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def custom_view(
html_filename = os.path.join("/etc/static-frontend/", html_filename)

with open(html_filename, encoding="utf-8") as html_file:
html = BeautifulSoup(html_file.read, "html.parser")
html = BeautifulSoup(html_file, "html.parser")

meta = html.find("meta", attrs={"name": "interface"})
if meta is not None:
Expand Down

0 comments on commit 33e0577

Please sign in to comment.