mirror of
https://github.com/ldericher/fftcgtool
synced 2025-01-15 15:02:59 +00:00
CLI
This commit is contained in:
parent
65a0ebd37f
commit
6f1b5fd422
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -19,7 +19,7 @@ def main():
|
|||
parser.add_argument(
|
||||
'opus_id',
|
||||
default="1",
|
||||
metavar="OpusID",
|
||||
metavar="Opus_ID",
|
||||
nargs="?",
|
||||
help='the Opus to import')
|
||||
|
||||
|
@ -42,7 +42,7 @@ def main():
|
|||
|
||||
# main program
|
||||
opus = Opus(args.opus_id)
|
||||
book = Book(opus, GRID, RESOLUTION, "eg", 16)
|
||||
book = Book(opus, GRID, RESOLUTION, "eg", args.num_threads)
|
||||
book.save(f"{opus.name}_{{}}.jpg")
|
||||
|
||||
# bye
|
||||
|
|
Loading…
Reference in a new issue