From 181fa620f55bc27b878cddb42a2183679e422d9c Mon Sep 17 00:00:00 2001 From: Bhupendra Raut Date: Sun, 27 Oct 2024 11:18:10 -0500 Subject: [PATCH] correct app.py --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 1e45900..d6c0cae 100755 --- a/app.py +++ b/app.py @@ -47,7 +47,7 @@ def upload_image(sky_curr, timestamp, thres_otsu, plugin): """ img2_file_name = 'img2_' + str(timestamp) + '.jpg' cv2.imwrite(img2_file_name, sky_curr) - plugin.upload_file(img2_file_name, meta={'thres_otsu': str(thres_otsu)}, timestamp=sample.timestamp) + plugin.upload_file(img2_file_name, meta={'thres_otsu': str(thres_otsu)}, timestamp=timestamp) try: os.remove(img2_file_name)