修正部分代码

This commit is contained in:
2019-01-20 23:28:04 +08:00
parent ab06868f06
commit e3b82555d6
3 changed files with 4 additions and 3 deletions

View File

@ -42,7 +42,7 @@ class Gift:
giftN = self.giftList[self.ID]["Name"]
else:
giftN = "未知礼物[{}]".format(self.ID)
return "感谢 {user} 送出的 {count}{name}".format(user= self.user, count= self.count, name= giftN)
return "{user} 送出的 {count}{name}".format(user= self.user, count= self.count, name= giftN)
def __unicode__(self):
return self.__str__()