def usbThread(): Usb.daemon()
print( json.dumps( cdn.Shogun.scrapeTitle(int(args.scrape_nsuid), region=region, language=language, force=True).__dict__)) Titles.saveRegion(region, language) if args.usb: try: from nut import Usb except BaseException as e: Print.error('pip3 install pyusb, required for USB coms: ' + str(e)) nut.scan() Usb.daemon() if args.scan: nut.initTitles() nut.initFiles() nut.scan() if args.pull: nut.pull() if args.refresh: nut.initTitles() nut.initFiles() refresh(False) if args.read_rightsids: