Skip to content

Commit 483ed92

Browse files
Merge pull request #762 from emmanuel-ferdman/main
Display plugin name on uninitialized error
2 parents e79d106 + 948a23a commit 483ed92

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)