Skip to content

Commit bec831f

Browse files
committed
More comment
Signed-off-by: Cédric Foellmi <cedric@onekiloparsec.dev>
1 parent 29a1c72 commit bec831f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/example_upload_images.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212

1313
context.validate()
1414

15-
for filepath in glob.glob('directory containing files'):
15+
# Make sure to include "/*" to encompass all directory files.
16+
for filepath in glob.glob('directory containing files/*'):
1617
uploader = AllSkyCameraImageFileUploader(context, filepath, display_progress=False)
1718
# You must provide timestamp for every file. Below is just an example for tests.
1819
timestamp = datetime.now(timezone.utc).timestamp() # random.randint(0, 1000)

0 commit comments

Comments
 (0)