Skip to content

Commit

Permalink
correct app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RBhupi authored Oct 27, 2024
1 parent 51c8d4a commit 181fa62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 181fa62

Please sign in to comment.