switch to pipfile, new tests

This commit is contained in:
Xevion
2021-02-12 23:19:35 -06:00
parent 89b16fdc04
commit ea825b9a30
5 changed files with 92 additions and 5 deletions

View File

@@ -66,7 +66,7 @@ class ContestCog(commands.Cog):
await self.bot.db.new_period(new_period)
# Handle submissions state
elif period.current_state == 0:
await self.bot.db.update_period(period)
await self.bot.db.update(period)
return
# Handle voting state
elif period.current_state == 1: