Consider removing the commented out code block
261 else:
262 logger.warning("初始化emoji失败")
263
264 # check_init()265 with Image.new("RGB", (550, 80), (255, 255, 255)) as image:
266 font = ImageFont.truetype("arial.ttf", 24)
267
Description
It is recommended to remove any commented code in your codebase.
Bad practice
for item in sequence:
# print(item)
do_something(item)
# def old_function():
# '''Older implementation that has been replaced'''
# data = get_data()
# api.post(data)
Recommended
for item in sequence:
do_something(item)