increase compatibility with windows 11.

This commit is contained in:
2023-05-11 18:55:48 +09:00
parent b4780dd069
commit 5c41ed041d
3 changed files with 29 additions and 3 deletions

View File

@ -1,4 +1,5 @@
import argparse
import sys
from mdrsclient.commands import (
ChaclCommand,
@ -48,7 +49,7 @@ def main() -> None:
parser.print_help()
except MDRSException as e:
print(f"Error: {e}")
exit(2)
sys.exit(2)
if __name__ == "__main__":