make db.DuckStats.ratio() actually calculate a ratio

This commit is contained in:
randomuser 2021-07-21 00:29:46 -05:00
parent 65d84ce424
commit e4f4621d1b
1 changed files with 1 additions and 1 deletions

2
db.py
View File

@ -77,7 +77,7 @@ class DuckStats:
return self.countstatus(nick, "M") return self.countstatus(nick, "M")
def ratio(self, nick): def ratio(self, nick):
return (self.cought(nick) / self.missed(nick)) * 100 return self.cought(nick) / self.missed(nick)
def channels(self, nick): def channels(self, nick):
channels = set() channels = set()