mirror of
https://github.com/iluvcapra/ptulsconv.git
synced 2026-01-01 17:30:47 +00:00
TagMapping implementation
Silly bug I made
This commit is contained in:
@@ -21,8 +21,8 @@ class TagCompiler:
|
|||||||
|
|
||||||
def marker_tags(self, at):
|
def marker_tags(self, at):
|
||||||
retval = dict()
|
retval = dict()
|
||||||
|
applicable = [(m, t) for (m, t) in self.session.markers_timed() if t >= at]
|
||||||
for marker, time in [(m, t) for (m, t) in self.session.markers_timed() if t >= at ]:
|
for marker, time in sorted(applicable, key= lambda x: x[1]):
|
||||||
retval.update(parse_tags(marker.comments).tag_dict)
|
retval.update(parse_tags(marker.comments).tag_dict)
|
||||||
retval.update(parse_tags(marker.name).tag_dict)
|
retval.update(parse_tags(marker.name).tag_dict)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user