Skip to content

Commit

Permalink
Merge pull request #11468 from camptocamp/fix-interface
Browse files Browse the repository at this point in the history
Fix typo in open file
  • Loading branch information
sbrunner authored Oct 28, 2024
2 parents 06c7fa8 + 33e0577 commit 3eaf8d4
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 3eaf8d4

Please sign in to comment.