Add a new cachedir param
parent
a70184923b
commit
46bffbe700
|
@ -92,6 +92,12 @@ def main():
|
|||
help = "A JSON file matching player tags, characters and " \
|
||||
"preferred skins",
|
||||
)
|
||||
top8_parser.add_argument(
|
||||
"--cachedir", "-CD",
|
||||
type = pathlib.Path,
|
||||
default = pathlib.Path(APPDIRS.user_cache_dir),
|
||||
help = "A directory to use for temporary files",
|
||||
)
|
||||
top8_parser.add_argument(
|
||||
"--templatesdir", "-TD",
|
||||
type = pathlib.Path,
|
||||
|
@ -303,7 +309,7 @@ def main():
|
|||
context,
|
||||
args.outfile,
|
||||
log = log,
|
||||
cachedir = pathlib.Path(APPDIRS.user_cache_dir),
|
||||
cachedir = args.cachedir,
|
||||
)
|
||||
|
||||
if rv is None:
|
||||
|
|
Loading…
Reference in New Issue