|
@@ -25,6 +25,9 @@ class Command(BaseCommand):
|
|
|
data = yaml.safe_load(stream)
|
|
|
dev = Device()
|
|
|
for key, value in data.items():
|
|
|
+ #match caso:
|
|
|
+ # case dict():
|
|
|
+ # print('dict')
|
|
|
if key == "bluetooth":
|
|
|
# get() returned more than one Bluetooth -- it returned 2!
|
|
|
bt = Bluetooth.objects.filter(**value)
|