🐛 Fix issues pointed out by flake-bugbear
This commit is contained in:
1 parent
bc785141e5
commit
446e1b7ece
22 files changed
+38
-36
No files matched your search
@@ -89,7 +89,7 @@ class OctoPrintPluginCommands(click.MultiCommand):
|
||||
self.settings, safe_mode=get_ctx_obj_option(ctx, "safe_mode", False)
|
||||
)
|
||||
except FatalStartupError as e:
|
||||
click.echo(e.message, err=True)
|
||||
click.echo(str(e), err=True)
|
||||
click.echo(
|
||||
"There was a fatal error initializing the settings or the plugin system.",
|
||||
err=True,
|
||||
|
||||
Reference in new issue
Block a user