plakativ.py: format with black

This commit is contained in:
Johannes Schauer Marin Rodrigues 2021-03-04 19:35:58 +01:00
parent b4aea1809d
commit 18d6650a6e
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -2105,13 +2105,16 @@ def parse_pagesize_rectarg(string):
def main(): def main():
if len(sys.argv) == 1 and platform.system() != "Windows": if len(sys.argv) == 1 and platform.system() != "Windows":
print(""" print(
"""
You called plakativ without arguments. At least one of the options --size, You called plakativ without arguments. At least one of the options --size,
--factor or --maxpages is required for running plakativ on the command line. --factor or --maxpages is required for running plakativ on the command line.
But maybe you meant to run the plakativ GUI instead? On platforms other than But maybe you meant to run the plakativ GUI instead? On platforms other than
Windows, the default is to run the command line interface. To run the graphical Windows, the default is to run the command line interface. To run the graphical
user interface, run plakativ with the --gui option instead. user interface, run plakativ with the --gui option instead.
""", file=sys.stderr) """,
file=sys.stderr,
)
rendered_papersizes = "" rendered_papersizes = ""
for k, v in sorted(papersizes.items()): for k, v in sorted(papersizes.items()):