Skip to content

Commit

Permalink
add back check for spaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgstew committed Oct 11, 2023
1 parent 500d88e commit 8b791df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/upload_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8b791df

Please sign in to comment.