()
| 190 | |
| 191 | |
| 192 | def main() -> int: |
| 193 | rc = 0 |
| 194 | exc = None |
| 195 | |
| 196 | try: |
| 197 | rc = run() |
| 198 | except Exception as e: |
| 199 | exc = e |
| 200 | finally: |
| 201 | if exc: |
| 202 | _error_message(exc) |
| 203 | rc = 1 |
| 204 | |
| 205 | translation_handler.restore_console_font() |
| 206 | |
| 207 | return rc |
| 208 | |
| 209 | |
| 210 | if __name__ == '__main__': |
no test coverage detected