diff --git a/ieemoo-ai-zhanting.py b/ieemoo-ai-zhanting.py index e0b11b2..cad472e 100644 --- a/ieemoo-ai-zhanting.py +++ b/ieemoo-ai-zhanting.py @@ -44,7 +44,7 @@ def Obs(image_file): #保存赠品未识别图片至ocrimg objectkey = os.path.basename(image_file) now_time = datetime.datetime.now().strftime("%Y%m%d%H%M%S") time1 = now_time[:8] - time2 = now_time[8:] + time2 = now_time[8:]+".jpg" objectkey_ = 'zhantingimgs/' + time1 + '/' + time2 logger.info(f"obs_imgname:{objectkey_}") if objectkey.split('.')[-1] in ['png', 'jpg']: