Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
futzu authored Oct 8, 2024
1 parent 8bd2efd commit 72df7b8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions threefive/descriptors.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,9 @@ def xml(self):
td = Node(
"TimeDescriptor",
attrs={
"tai_seconds":self.tai_seconds,
"tai_ns":self.tai_ns,
"utc_offset":self.utc_offset,
"tai_seconds": self.tai_seconds,
"tai_ns": self.tai_ns,
"utc_offset": self.utc_offset,
},
)
return td
Expand Down Expand Up @@ -486,7 +486,7 @@ def xml(self):
self.segmentation_duration
)
sd = Node("SegmentationDescriptor", attrs=sd_attrs)
# sd.add_comment(f'{table22[self.segmentation_type_id]}') # Called in cue.py
# sd.add_comment(f'{table22[self.segmentation_type_id]}') # Called in cue.py
the_upid = self.mk_the_upid()
the_upid.upid_value = self.segmentation_upid
upid_node = the_upid.xml()
Expand All @@ -504,7 +504,7 @@ def xml(self):
},
)
)
sd.add_comment(f'UPID: {upid_map[self.segmentation_upid_type][0]}')
sd.add_comment(f"UPID: {upid_map[self.segmentation_upid_type][0]}")

if isinstance(upid_node, list):
for node in upid_node:
Expand Down Expand Up @@ -534,7 +534,7 @@ def from_xml(self, stuff):
self.segmentation_upid_type = 0
if "SegmentationUpid" in stuff:
self.load(stuff["SegmentationUpid"])
# self.segmentation_upid_length = len(self.segmentation_upid.strip("0x"))
# self.segmentation_upid_length = len(self.segmentation_upid.strip("0x"))
self._chk_sub_segments()


Expand Down

0 comments on commit 72df7b8

Please sign in to comment.