fix docstrings

This commit is contained in:
Patrick Kanzler 2023-09-25 00:26:43 +02:00
parent d0e0687958
commit d3d7745dc5

View File

@ -300,7 +300,7 @@ ESCPOS_COMMANDS = [
}, },
{ {
"option_strings": ("--histeq",), "option_strings": ("--histeq",),
"help": "Equalize the histrogram", "help": "Equalize the histogram",
"type": str_to_bool, "type": str_to_bool,
}, },
{ {
@ -458,6 +458,7 @@ ESCPOS_COMMANDS = [
def print_extended_information() -> None: def print_extended_information() -> None:
"""Print diagnostic information for bug reports."""
print(f"* python-escpos version: `{version.version}`") print(f"* python-escpos version: `{version.version}`")
print( print(
f"* python version: `{platform.python_implementation()} v{platform.python_version()}`" f"* python version: `{platform.python_implementation()} v{platform.python_version()}`"