From 4040e4c2ebee3d3c653ece3538a887d195f7595e Mon Sep 17 00:00:00 2001 From: acidvegas Date: Wed, 28 Jun 2023 13:49:05 -0400 Subject: [PATCH] Forgot to initialize an fstring --- scroll.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scroll.py b/scroll.py index ad2f538..e9a8c5e 100644 --- a/scroll.py +++ b/scroll.py @@ -161,7 +161,7 @@ class Bot(): if ascii.getcode() == 200: ascii = ascii.readlines() if len(ascii) > int(self.settings['lines']) and chan != '#scroll': - await self.irc_error(chan, 'file is too big', 'take those {len(ascii):,} lines to #scroll') + await self.irc_error(chan, 'file is too big', f'take those {len(ascii):,} lines to #scroll') else: await self.action(chan, 'the ascii gods have chosen... ' + color(name, cyan)) for line in ascii: @@ -364,4 +364,4 @@ try: import img2irc except ImportError: raise SystemExit('missing required \'img2irc\' file (https://github.com/ircart/scroll/blob/master/img2irc.py)') -asyncio.run(Bot().connect()) \ No newline at end of file +asyncio.run(Bot().connect())