Commits

Jason R. Coombs  committed 47b6ddc

Fixed issue with get_day_logs again

  • Participants
  • Parent commits e8514bc
  • Tags 1100.8.1

Comments (0)

Files changed (1)

File pmxbot/logging.py

 		query = {'channel': channel, 'datetime.d': day}
 		cur = self.db.find(query).sort('_id')
 		return (
-			(rec['datetime']['t'].replace(microsecond=0), rec['nick'], rec['message'])
+			(
+				rec['_id'].generation_time.time(),
+				rec['nick'], rec['message'],
+			)
 			for rec in cur
 		)