mirror of
https://github.com/iluvcapra/ptulsconv.git
synced 2025-12-31 08:50:48 +00:00
TagMapping implementation
Silly bug I made
This commit is contained in:
@@ -21,8 +21,8 @@ class TagCompiler:
|
||||
|
||||
def marker_tags(self, at):
|
||||
retval = dict()
|
||||
|
||||
for marker, time in [(m, t) for (m, t) in self.session.markers_timed() if t >= at ]:
|
||||
applicable = [(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.name).tag_dict)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user