Skip to content

Commit 631bcf3

Browse files
rwb27bprobert97
andauthored
Fix a string that should be an f-string.
Co-authored-by: Beth <167304066+bprobert97@users.noreply.github.com>
1 parent bab3dcc commit 631bcf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/labthings_fastapi/thing_slots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def _pick_things(
215215
if not isinstance(things[t], self.thing_type):
216216
raise ThingSlotError(f"{t} is the wrong type")
217217
return [things[t] for t in target]
218-
msg = "The target specified for a ThingSlot ({target}) has the wrong "
218+
msg = f"The target specified for a ThingSlot ({target}) has the wrong "
219219
msg += "type. See ThingSlot.connect() docstring for details."
220220
raise TypeError(msg)
221221

0 commit comments

Comments
 (0)