Skip to content

Commit

Permalink
python: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
LinneyS committed Oct 11, 2024
1 parent 52b792f commit fdd90fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/documentserver-example/python/src/views/forgotten.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fdd90fd

Please sign in to comment.