From e1eee4d41d3c8a3ba851542bfaaf8d46b81c294f Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Thu, 26 Jul 2018 18:12:06 +0000 Subject: [PATCH] asd --- discordbot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/discordbot.py b/discordbot.py index fc5bf499..a3545c2d 100644 --- a/discordbot.py +++ b/discordbot.py @@ -599,6 +599,7 @@ async def queue_play_next_video(): voice_player.start() if now_playing.enqueuer is not None: session = await loop.run_in_executor(executor, db.Session) + enqueuer = await loop.run_in_executor(executor, db.session.query(db.Discord).filter_by(discord_id=now_playing.enqueuer.id).one_or_none) played_music = db.PlayedMusic(enqueuer=now_playing.enqueuer, filename=str(now_playing), timestamp=datetime.datetime.now())