small cleanup

This commit is contained in:
Robert Martin
2020-05-16 11:09:05 +02:00
parent 78f015d79b
commit a102011f8b
+2 -2
View File
@@ -183,7 +183,7 @@ async def _main(args):
# Create amiibo command
async def amiibo(*args):
"""
amiibo - Sets amiibo content
amiibo - Sets nfc content
Usage:
amiibo <file_name> Set controller state NFC content to file
@@ -192,7 +192,7 @@ async def _main(args):
if controller_state.get_controller() == Controller.JOYCON_L:
raise ValueError('NFC content cannot be set for JOYCON_L')
elif not args:
raise ValueError('"amiibo" command requires amiibo dump file path as argument!')
raise ValueError('"amiibo" command requires file path to an nfc dump as argument!')
elif args[0] == 'remove':
controller_state.set_nfc(None)
print('Removed nfc content.')