gsd 4 months ago
parent
commit
6ec2b5c0f9
  1. 2
      dbService.py

2
dbService.py

@ -29,7 +29,7 @@ class MultiDeviceDbSupport:
uuid = self.core.devicesUuidHashToUuid.get(hash, "") uuid = self.core.devicesUuidHashToUuid.get(hash, "")
if uuid: if uuid:
if uuid == self.core.defaultDeviceUUID: if uuid == self.core.defaultDeviceUUID:
orPart.append({"device_uuid", None}) orPart.append({"device_uuid": None})
orPart.append({"device_uuid": uuid}) orPart.append({"device_uuid": uuid})
return orPart#-->{"$or": orPart} return orPart#-->{"$or": orPart}

Loading…
Cancel
Save