From 8b791df79e16519d94880cb4bd1bb9284114dc8c Mon Sep 17 00:00:00 2001 From: JGStew Date: Wed, 11 Oct 2023 15:53:21 -0400 Subject: [PATCH] add back check for spaces. --- examples/upload_files.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/upload_files.py b/examples/upload_files.py index 428d6de..ea8efd6 100644 --- a/examples/upload_files.py +++ b/examples/upload_files.py @@ -19,6 +19,7 @@ def main(path_folder="./tmp"): for entry in os.scandir(path_folder): if entry.is_file() and "README.md" not in entry.path: + # this check for spaces is not required for besapi>=3.1.9 if " " in os.path.basename(entry.path): print(f"ERROR: files cannot contain spaces! skipping: {entry.path}") continue