Skip to content

Commit ff0538a

Browse files
SeqLazsuricactus
andauthored
Update qfieldcloud_sdk/sdk.py
Co-authored-by: Ivan Ivanov <suricactus@users.noreply.github.com>
1 parent 77f8c41 commit ff0538a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

qfieldcloud_sdk/sdk.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,7 @@ def upload_file(
487487
Returns:
488488
The response object from the upload request.
489489
"""
490+
# if the filepath is invalid, it will throw a new error `pathvalidate.ValidationError`
490491
is_valid_filepath(str(local_filename))
491492

492493
with open(local_filename, "rb") as local_file:

0 commit comments

Comments
 (0)