Merge pull request #150 from aspacca/patch-1
Send only text notification without art
This commit is contained in:
commit
d212dcf2bd
|
@ -44,9 +44,7 @@ async def send_entry(bot, room, entry):
|
|||
if plexpy:
|
||||
pms = plexpy.pmsconnect.PmsConnect()
|
||||
pms_image = pms.get_image(entry["art"], 600, 300)
|
||||
if not pms_image:
|
||||
return
|
||||
|
||||
if pms_image:
|
||||
(blob, content_type) = pms_image
|
||||
matrix_uri = await bot.upload_and_send_image(room, blob, "", True, content_type)
|
||||
|
||||
|
|
Loading…
Reference in New Issue