粉丝团信息,type写反了……
This commit is contained in:
parent
62655df548
commit
8aaa7a8ba5
@ -11,7 +11,8 @@ class FansclubMessage(Base):
|
||||
return self.instance.content
|
||||
|
||||
def __str__(self):
|
||||
if self.instance.type == 1:
|
||||
if self.instance.type == 2:
|
||||
return time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()) + '【加入粉丝团】' + self.format_content()
|
||||
elif self.instance.type == 2:
|
||||
elif self.instance.type == 1:
|
||||
return time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()) + '【粉丝牌升级】' + self.format_content()
|
||||
return time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()) + '【粉丝团信息】' + self.format_content()
|
Reference in New Issue
Block a user