fix last-minute-change bug
This commit is contained in:
@@ -67,8 +67,8 @@ def cli_update(args: ArgParams) -> None:
|
|||||||
icns.add_media(IcnsType.key_from_readable(key), file=val, force=True)
|
icns.add_media(IcnsType.key_from_readable(key), file=val, force=True)
|
||||||
has_changes = True
|
has_changes = True
|
||||||
# write file
|
# write file
|
||||||
if has_changes or args.o:
|
if has_changes or args.output:
|
||||||
icns.write(args.o or args.file, toc=icns.has_toc())
|
icns.write(args.output or args.file, toc=icns.has_toc())
|
||||||
|
|
||||||
|
|
||||||
def cli_print(args: ArgParams) -> None:
|
def cli_print(args: ArgParams) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user