forked from josch/plakativ
plakativ.py: format with black
This commit is contained in:
parent
b4aea1809d
commit
18d6650a6e
1 changed files with 5 additions and 2 deletions
|
@ -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()):
|
||||||
|
|
Loading…
Reference in a new issue