Skip to content
Snippets Groups Projects
Commit 5e109064 authored by Yoann Schneider's avatar Yoann Schneider :tennis: Committed by Solene Tarride
Browse files

Error in _valid_image_format

parent ed301be2
No related branches found
No related tags found
1 merge request!276Error in _valid_image_format
......@@ -39,7 +39,7 @@ def validate_char(char):
def _valid_image_format(value: str):
im_format = value
if not im_format.startswith("."):
im_format.insert(0, ".")
im_format = "." + im_format
return im_format
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment