You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[28-Nov-23 02:40:05 - ERROR] - pyrogram.dispatcher - x1 must be greater than or equal to x0
Traceback (most recent call last):
File "/root/vip_url_bot/myenv/lib/python3.8/site-packages/pyrogram/dispatcher.py", line 240, in handler_worker
await handler.callback(self.client, *args)
File "/root/vip_url_bot/TelegramBot/helpers/decorators.py", line 45, in decorator
else: return await func(client, update)
File "/root/vip_url_bot/TelegramBot/plugins/sudo/serverstats.py", line 62, in stats
draw_progressbar(243, int(cpu_percentage))
File "/root/vip_url_bot/TelegramBot/plugins/sudo/serverstats.py", line 31, in draw_progressbar
draw.rectangle((120, coordinate, progress, coordinate-25), fill='#FFFFFF')
File "/root/vip_url_bot/myenv/lib/python3.8/site-packages/PIL/ImageDraw.py", line 301, in rectangle
self.draw.draw_rectangle(xy, fill, 1)
ValueError: x1 must be greater than or equal to x0
The text was updated successfully, but these errors were encountered:
Getting this error in /serverstats
[28-Nov-23 02:40:05 - ERROR] - pyrogram.dispatcher - x1 must be greater than or equal to x0
Traceback (most recent call last):
File "/root/vip_url_bot/myenv/lib/python3.8/site-packages/pyrogram/dispatcher.py", line 240, in handler_worker
await handler.callback(self.client, *args)
File "/root/vip_url_bot/TelegramBot/helpers/decorators.py", line 45, in decorator
else: return await func(client, update)
File "/root/vip_url_bot/TelegramBot/plugins/sudo/serverstats.py", line 62, in stats
draw_progressbar(243, int(cpu_percentage))
File "/root/vip_url_bot/TelegramBot/plugins/sudo/serverstats.py", line 31, in draw_progressbar
draw.rectangle((120, coordinate, progress, coordinate-25), fill='#FFFFFF')
File "/root/vip_url_bot/myenv/lib/python3.8/site-packages/PIL/ImageDraw.py", line 301, in rectangle
self.draw.draw_rectangle(xy, fill, 1)
ValueError: x1 must be greater than or equal to x0
The text was updated successfully, but these errors were encountered: