Evaaaaa06 commited on
Commit
bad2a63
·
verified ·
1 Parent(s): b7f637d

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -169,7 +169,7 @@ def handle_image_message(event):
169
  access_token = os.environ.get("IMGUR_ACCESS_TOKEN")
170
  image_url = upload_image_to_imgur_with_token(image_data,access_token)
171
 
172
- if image_path:
173
  line_bot_api.reply_message(
174
  event.reply_token,
175
  [
 
169
  access_token = os.environ.get("IMGUR_ACCESS_TOKEN")
170
  image_url = upload_image_to_imgur_with_token(image_data,access_token)
171
 
172
+ if image_url:
173
  line_bot_api.reply_message(
174
  event.reply_token,
175
  [