500: Internal server error

Please join the Discord server and report this issue.

File "main.py", line 611, in main_middleware resp = await resp.get_response() File "main.py", line 301, in get_response rendered = await self.load_template() File "main.py", line 293, in load_template r = await t.render_async(**args) File "/opt/virtualenvs/python3/lib/python3.8/site-packages/jinja2/asyncsupport.py", line 70, in render_async return self.environment.handle_exception(exc_info, True) File "/opt/virtualenvs/python3/lib/python3.8/site-packages/jinja2/environment.py", line 780, in handle_exception reraise(exc_type, exc_value, tb) File "/opt/virtualenvs/python3/lib/python3.8/site-packages/jinja2/_compat.py", line 37, in reraise raise value.with_traceback(tb) File "/opt/virtualenvs/python3/lib/python3.8/site-packages/jinja2/asyncsupport.py", line 27, in concat_async await collect() File "/opt/virtualenvs/python3/lib/python3.8/site-packages/jinja2/asyncsupport.py", line 25, in collect async for event in async_gen: File "templates/profile_member.html", line 36, in root {% block body %} File "templates/base.html", line 29, in root document.addEventListener('keydown', (e) => { File "templates/profile_member.html", line 477, in block_body {% if loop.index % 9 == 0 %} File "/opt/virtualenvs/python3/lib/python3.8/site-packages/jinja2/asyncsupport.py", line 177, in auto_await return await value File "/opt/virtualenvs/python3/lib/python3.8/site-packages/jinja2/asyncsupport.py", line 102, in async_invoke rv = await self._func(*arguments) File "templates/macros.html", line 375, in macro File "/opt/virtualenvs/python3/lib/python3.8/site-packages/jinja2/asyncsupport.py", line 177, in auto_await return await value File "/home/runner/hypixel-skyblock-GOOD/skyblock.py", line 187, in get_rank_prefix_html rank_prefix_html = utils.convert_color_codes_to_html(rank_prefix_formatted) File "/home/runner/hypixel-skyblock-GOOD/utils.py", line 84, in convert_color_codes_to_html code = code.decode() <class 'AttributeError'>: 'NoneType' object has no attribute 'decode'