Skip to content

Commit 948a23a

Browse files
Display plugin name on uninitialized error
Signed-off-by: Emmanuel Ferdman <[email protected]>
1 parent e79d106 commit 948a23a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mavsdk/system.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ async def _init_plugins(self, host, port):
168168

169169
@staticmethod
170170
def error_uninitialized(plugin_name: str) -> str:
171-
return "{plugin_name} plugin has not been initialized! " \
171+
return f"{plugin_name} plugin has not been initialized! " \
172172
"Did you run `System.connect()`?"
173173

174174
@property

0 commit comments

Comments
 (0)