🐛 Fix issues pointed out by flake-bugbear

This commit is contained in:
Gina Häußge committed 2020-10-08 11:50:24 +02:00
1 parent bc785141e5
commit 446e1b7ece
22 files changed
+38 -36

No files matched your search

+1 -1
View File
@@ -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,