Skip to content

Commit 9ff7345

Browse files
committed
no reason to cast service id to string
1 parent 357c89b commit 9ff7345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opentaxii/taxii/converters.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def content_block_entity_to_content_block(entity, version):
303303
def blob_to_service_entity(blob):
304304

305305
properties = dict(blob)
306-
_id = str(properties.pop('id'))
306+
_id = properties.pop('id')
307307
_type = properties.pop('type')
308308

309309
return ServiceEntity(id=_id, type=_type, properties=properties)

0 commit comments

Comments
 (0)