mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2026-06-23 05:56:51 +08:00
fix small bug
This commit is contained in:
@@ -130,7 +130,7 @@ class PlatformProto(metaclass=RegistryMeta):
|
|||||||
if self.enable_tag and tags:
|
if self.enable_tag and tags:
|
||||||
flag = False
|
flag = False
|
||||||
post_tags = self.get_tags(raw_post)
|
post_tags = self.get_tags(raw_post)
|
||||||
for tag in post_tags:
|
for tag in post_tags or []:
|
||||||
if tag in tags:
|
if tag in tags:
|
||||||
flag = True
|
flag = True
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user