diff --git a/geoportal/c2cgeoportal_geoportal/views/entry.py b/geoportal/c2cgeoportal_geoportal/views/entry.py index a7ae0e3de6..ec566170c3 100644 --- a/geoportal/c2cgeoportal_geoportal/views/entry.py +++ b/geoportal/c2cgeoportal_geoportal/views/entry.py @@ -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: