๐Ÿ“ฆ p0n1 / epub_to_audiobook

๐Ÿ“„ ui_config.py ยท 9 lines
1
2
3
4
5
6
7
8
9

class UiConfig:
    def __init__(self, args):
        self.host = args.host
        self.port = args.port

    def __str__(self):
        return ", ".join(f"{key}={value}" for key, value in self.__dict__.items())