From a372ff997e32ff7a33a0b493a73048b74c08d4b9 Mon Sep 17 00:00:00 2001 From: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Wed, 28 Feb 2018 09:25:18 -0800 Subject: [PATCH] Fix outline on usernames > 33 chars --- imgwelcome/imgwelcome.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imgwelcome/imgwelcome.py b/imgwelcome/imgwelcome.py index 9e81f6f..16c6548 100644 --- a/imgwelcome/imgwelcome.py +++ b/imgwelcome/imgwelcome.py @@ -55,7 +55,7 @@ class ImgWelcome: def __init__(self, bot): self.bot = bot self.settings = dataIO.load_json('data/imgwelcome/settings.json') - self.version = "0.1.7" + self.version = "0.1.7a" self.session = aiohttp.ClientSession() def __unload(self): @@ -156,7 +156,7 @@ class ImgWelcome: drawtwo.text((152, 70), uname, font=name_font_small, fill=(fontcolor)) if len(uname) >= 33: - drawtwo.text((152, 73), uname, 1, name_font_smallest, (textoutline)) + _outline((152, 73), uname, 1, name_font_smallest, (textoutline)) drawtwo.text((152, 73), uname, font=name_font_smallest, fill=(fontcolor)) if test_member_number is None: