Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
harminius committed Feb 10, 2025
1 parent d294334 commit ab48f35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/mergin/sync/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,8 @@ def is_valid_path(filepath: str) -> bool:
not len(re.split(r"\.[/\\]", filepath)) > 1 # ./ or .\
and is_valid_filepath(filepath) # invalid characters in filepath, absolute path
and is_valid_filename(
os.path.basename(filepath)
) # invalid characters in filename, reserved filenames
os.path.basename(filepath)
) # invalid characters in filename, reserved filenames
)


Expand Down

0 comments on commit ab48f35

Please sign in to comment.