Update main.py
Browse files
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
|
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 |
[
|