Skip to content

Commit

Permalink
small tuneups.
Browse files Browse the repository at this point in the history
  • Loading branch information
futzu authored Nov 26, 2024
1 parent 282303f commit b4059ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions threefive/cue.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ def from_xml(self, stuff):

def _xmlbin(self, ns):
sig_attrs = {"xmlns": "https://scte.org/schemas/35"}
sig_node = Node("Signal", attrs=sig_attrs,ns=ns)
sig_node = Node("Signal", attrs=sig_attrs, ns=ns)
bin_node = Node("Binary", value=self.encode(), ns=ns)
sig_node.add_child(bin_node)
return sig_node
Expand All @@ -476,7 +476,7 @@ def _xml_mk_descriptor(self, sis, ns):
_mk_descriptor_xml make xml nodes for descriptors.
"""
for d in self.descriptors:
if d.has("segmentation_type_id")and d.segmentation_type_id in table22:
if d.has("segmentation_type_id") and d.segmentation_type_id in table22:
comment = f"{table22[d.segmentation_type_id]}"
sis.add_comment(comment)
sis.add_child(d.xml(ns=ns))
Expand Down

0 comments on commit b4059ee

Please sign in to comment.