updated readme and resetted pollmaster files

This commit is contained in:
Hendrik Behme committed 2019-08-27 12:27:53 +02:00
1 parent 531a172eb6
commit 04faed2f07
4 files changed
+21 -27

No files matched your search

+1 -3
View File
@@ -50,9 +50,7 @@ class PollControls(commands.Cog):
while True:
try:
if not hasattr(self.bot, 'db'):
"""await asyncio.sleep(30)"""
logger.info("DB not available yet")
time.sleep(30)
await asyncio.sleep(30)
continue
query = self.bot.db.polls.find({'active': False, 'activation': {"$not": re.compile("0")}})