From 02fac3ab4bb168b2ea84cfda8a120457075b0aef Mon Sep 17 00:00:00 2001 From: Mango0x45 Date: Tue, 25 Aug 2020 21:53:43 +0200 Subject: Convert frames and framerate to ints --- cogs/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cogs') diff --git a/cogs/utils.py b/cogs/utils.py index 9bff27b..c512da2 100755 --- a/cogs/utils.py +++ b/cogs/utils.py @@ -409,7 +409,7 @@ class Utils(commands.Cog): await ctx.send( str( timedelta(seconds=end_sec - start_sec + - round((frames / framerate), 3))).replace('000', '')) + round((int(frames) / int(framerate)), 3))).replace('000', '')) def setup(bot): -- cgit v1.2.3