Permalink
Browse files

Use an empty string for a locator comment if the marker name is None (#…

  • Loading branch information...
michaeljefferies authored and jminor committed Oct 25, 2017
1 parent 9e7eeda commit eb653a3e5e6227af5d38c446c20042218f99e53f
Showing with 1 addition and 1 deletion.
  1. +1 −1 opentimelineio/adapters/cmx_3600.py
@@ -674,7 +674,7 @@ def write_to_string(input_otio):
meta = marker.metadata.get("cmx_3600")
if not color and meta and meta.get("color"):
color = meta.get("color").upper()
comment = marker.name.upper()
comment = (marker.name or '').upper()
lines.append("* LOC: {} {:7} {}".format(timecode, color, comment))
# If we are carrying any unhandled CMX 3600 comments on this clip

0 comments on commit eb653a3

Please sign in to comment.