From b81209e78e8499648d6c1e5e3178a4a54e37acaa Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 1 Feb 2022 15:19:00 -0500 Subject: [PATCH] Ensure `sym` arg is a `str` --- piker/fsp/_api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/piker/fsp/_api.py b/piker/fsp/_api.py index f2c7cdc8..30a00633 100644 --- a/piker/fsp/_api.py +++ b/piker/fsp/_api.py @@ -143,6 +143,7 @@ def maybe_mk_fsp_shm( exists, otherwise load the shm already existing for that token. ''' + assert isinstance(sym, str), '`sym` should be file-name-friendly `str`' uid = tractor.current_actor().uid # TODO: load output types from `Fsp`