Skip to content

Commit 8957da6

Browse files
committed
Removing platform specific check and removing unnecessary check validations
1 parent 7d03043 commit 8957da6

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

qfieldcloud_sdk/sdk.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
from .interfaces import QfcException, QfcRequest, QfcRequestException
1616
from .utils import calc_etag, log
17-
from pathvalidate import is_valid_filename, is_valid_filepath, ValidationError
17+
from pathvalidate import is_valid_filepath
1818

1919

2020
logger = logging.getLogger(__file__)
@@ -410,8 +410,6 @@ def upload_files(
410410

411411
local_files = self.list_local_files(project_path, filter_glob)
412412

413-
for file in local_files:
414-
is_valid_filepath(file["name"])
415413
# we should always upload all package files
416414
if upload_type == FileTransferType.PACKAGE:
417415
force = True

0 commit comments

Comments
 (0)