ming před 3 roky
rodič
revize
c8517f283f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      newbot.py

+ 1 - 1
newbot.py

@@ -234,7 +234,7 @@ def make_bubble(title,kw):
       "type": "bubble",
       "hero": {
         "type": "image",
-        "url": "https://api.ptt.cx:6443/get_trend_image?kw_id="+id,
+        "url": "https://api.ptt.cx:6443/get_trend_image?kw_id="+str(id),
         "size": "full",
         "gravity": "top",
         "margin": "none",