typo in badges.py, 'datettime' -> 'datetime'

This commit is contained in:
jesopo 2018-12-20 16:32:04 +00:00
parent f98797cd23
commit 568eff01e0

View file

@ -28,7 +28,7 @@ class Module(ModuleManager.BaseModule):
now = self._now() now = self._now()
badges = [] badges = []
for badge, date in self._get_badges(user).items(): for badge, date in self._get_badges(user).items():
days_since = self._days_since(now, self._parse_datettime(date)) days_since = self._days_since(now, self._parse_datetime(date))
badges.append("%s: %s" % (badge, days_since)) badges.append("%s: %s" % (badge, days_since))
event["stdout"].write("Badges for %s: %s" % ( event["stdout"].write("Badges for %s: %s" % (