Merge branch '523-improve-validation-checks' of https://gitlab.com/openflexure/openflexure-microscope-server into 523-improve-validation-checks
This commit is contained in:
commit
fc437f529c
1 changed files with 2 additions and 1 deletions
|
|
@ -208,7 +208,8 @@ def _sanitise_reserved(name: str, is_filename: bool = True) -> str:
|
|||
|
||||
:param name: The component to check.
|
||||
:param is_filename: Whether the component is a filename.
|
||||
If True, names will be forced into lowercase.
|
||||
If True, names will be forced into lowercase.
|
||||
|
||||
:returns: The sanitised component, in lower case.
|
||||
"""
|
||||
# Check for Windows reserved names.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue