Opentracing context cannot be none

pull/5984/head
Jorik Schellekens 2019-09-05 15:06:13 +01:00
parent 93bc9d73bf
commit 5ade977d08
1 changed files with 1 additions and 1 deletions

View File

@ -856,7 +856,7 @@ class DeviceStore(DeviceWorkerStore, BackgroundUpdateStore):
"ts": now, "ts": now,
"opentracing_context": json.dumps(context) "opentracing_context": json.dumps(context)
if whitelisted_homeserver(destination) if whitelisted_homeserver(destination)
else None, else "{}",
} }
for destination in hosts for destination in hosts
for device_id in device_ids for device_id in device_ids