SyncThruTelegram/toner.py

6 lines
267 B
Python
Raw Permalink Normal View History

2023-04-17 02:49:07 +02:00
class Toner:
def __init__(self, color: str, pages_total: int, remaining_percent: int) -> None:
self.color = color
self.pages_total = pages_total
self.remaining_percent = remaining_percent
self.used_percent = 100 - remaining_percent