SyncThruTelegram/toner.py
2023-04-17 02:49:07 +02:00

6 lines
267 B
Python

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