Minor fix

This commit is contained in:
Benjamin Collet 2020-04-16 09:52:20 +02:00
parent d4a8f9f2da
commit 028966b35e

View file

@ -144,8 +144,8 @@ def search_devices(args):
data = call_api(params, 'devices/?%s=%s' % (args.field, args.string)) data = call_api(params, 'devices/?%s=%s' % (args.field, args.string))
if data['count'] < 1: if data['count'] < 1:
print("No device found for description %s on instance %s" % print("No device found for %s %s on instance %s" %
(args.string, instance)) (args.field, args.string, instance))
return return
if args.short: if args.short: