From fdd90fd851257fd0669d1bbf38fb3611293382f4 Mon Sep 17 00:00:00 2001 From: Sergey Linnik Date: Tue, 8 Oct 2024 18:14:22 +0300 Subject: [PATCH] python: fix lint --- web/documentserver-example/python/src/views/forgotten.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/documentserver-example/python/src/views/forgotten.py b/web/documentserver-example/python/src/views/forgotten.py index 3adbc3d1f..1cf470b13 100755 --- a/web/documentserver-example/python/src/views/forgotten.py +++ b/web/documentserver-example/python/src/views/forgotten.py @@ -51,7 +51,7 @@ def getForgottenFiles(): private_url = config_manager.document_server_private_url().geturl() public_url = config_manager.document_server_public_url().geturl() if private_url in file["url"]: - file["url"] = file["url"].replace(private_url, public_url) + file["url"] = file["url"].replace(private_url, public_url) files.append(file) except (Exception, ValueError) as error: logging.error(error)