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