master
Ryan Rix 8 years ago
parent 50e828ea26
commit 96a2e6f7c8

@ -75,6 +75,6 @@ if __name__ == "__main__":
image_fetcher.take_photo()
for path in os.listdir(image_fetcher.path):
with open(path) as f:
with open(os.path.join(image_fetcher.path, path)) as f:
image_sender.send_image(args.room, f, path)
os.remove(path)
os.remove(os.path.join(image_fetcher.path, path))

Loading…
Cancel
Save