Jelajahi Sumber

Send_pictures small fix (#546)

Φφ 2 tahun lalu
induk
melakukan
c97c270040
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      extensions/send_pictures/script.py

+ 1 - 1
extensions/send_pictures/script.py

@@ -25,7 +25,7 @@ def caption_image(raw_image):
 
 
 
 
 def generate_chat_picture(picture, name1, name2):
 def generate_chat_picture(picture, name1, name2):
-    text = f'*{name1} sends {name2} a picture that contains the following: "{caption_image(picture)}"*'
+    text = f'*{name1} sends {name2} a picture that contains the following: “{caption_image(picture)}”*'
     # lower the resolution of sent images for the chat, otherwise the log size gets out of control quickly with all the base64 values in visible history
     # lower the resolution of sent images for the chat, otherwise the log size gets out of control quickly with all the base64 values in visible history
     picture.thumbnail((300, 300))
     picture.thumbnail((300, 300))
     buffer = BytesIO()
     buffer = BytesIO()