Skip to content

Commit

Permalink
Studio/place markers: annotate place marker (optional string). Re #155.
Browse files Browse the repository at this point in the history
Without annotating place marker, Mypy flags track locator call found in place marker script as type mismatch. Therefore flag place marker as an optoinal string.
  • Loading branch information
josephsl committed Jan 27, 2021
1 parent 83c7885 commit 117012f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/appModules/splstudio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1767,7 +1767,7 @@ def _libraryScanAnnouncer(self, count: int, announcementType: str) -> None:
ui.message(_("{itemCount} items scanned").format(itemCount=count))

# Place markers.
placeMarker = None
placeMarker: Optional[str] = None

# Is the place marker set on this track?
# Track argument is None (only useful for debugging purposes).
Expand Down

0 comments on commit 117012f

Please sign in to comment.