def on_compress(self): nut.compressAll(Config.compression.level)
except BaseException as e: Print.info('error moving: ' + str(e)) traceback.print_exc(file=sys.stdout) raise Config.extractVersion = prev Nsps.save() if args.export_nca_map: exportNcaMap(args.export_nca_map) if args.compress_all: nut.initTitles() nut.initFiles() nut.compressAll(19 if args.level is None else args.level) if args.decompress_all: nut.decompressAll() if args.extract_nca_meta is not None: nut.extractNcaMeta(args.extract_nca_meta) if args.organize: nut.initTitles() nut.initFiles() nut.organize() if args.export: nut.initTitles() nut.initFiles()