fix compress

This commit is contained in:
felinae98 2021-02-18 23:16:28 +08:00
parent 815f860062
commit 5bb63231f4
No known key found for this signature in database
GPG Key ID: 00C8B010587FF610

View File

@ -30,7 +30,7 @@ class Post:
msgs.append(text)
for pic in self.pics:
msgs.append("[CQ:image,file={url}]".format(url=pic))
if not self.compress:
if self.compress:
msgs = [''.join(msgs)]
return msgs