Corrected typo in absolute path
This commit is contained in:
parent
77320d21e6
commit
aa891b53c4
@ -48,7 +48,7 @@ def main():
|
|||||||
|
|
||||||
CAPTURES_DIR = "/home/pi/captures"
|
CAPTURES_DIR = "/home/pi/captures"
|
||||||
|
|
||||||
image_paths = glob.glob(CAPTURES_DIR + "*.jpg")
|
image_paths = glob.glob(CAPTURES_DIR + "/*.jpg")
|
||||||
|
|
||||||
for image_path in image_paths:
|
for image_path in image_paths:
|
||||||
im = Image.open(image_path)
|
im = Image.open(image_path)
|
||||||
|
Loading…
Reference in New Issue
Block a user