From 83d1e1287072538f89b50808fd23e7536216cd10 Mon Sep 17 00:00:00 2001 From: Andrea Spacca Date: Thu, 7 Jan 2021 17:54:46 +0100 Subject: [PATCH] fix bug --- pantalaimon/store.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pantalaimon/store.py b/pantalaimon/store.py index 4353a86..7f83ff1 100644 --- a/pantalaimon/store.py +++ b/pantalaimon/store.py @@ -61,7 +61,7 @@ class MediaInfo: } } - if not file_name: + if len(file_name) == 0: content["body"] = url if msgtype: