Eitan Simler 2021-09-28 18:06:15 +05:30 zatwierdzone przez GitHub
commit f41442efe7
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -176,13 +176,12 @@ def main(*argv):
action='store_true')
parser.add_argument('--debug', help="turn on debug and copy/paste the stdout when reporting an issue on github",
action='store_true')
parser.add_argument('--format', type=str,
parser.add_argument('--format', type=str, choices=('png', 'jpg', 'jpeg'),
help="format of the output image",
default="png")
args = parser.parse_args(argv[1:])
assert args.format in ['png', 'jpg', 'jpeg']
if args.format == 'jpg':
args.format = 'jpeg'