[all] re-apply black

This commit is contained in:
tobi-wan-kenobi 2020-05-04 20:12:02 +02:00
parent 98dd8ca5f7
commit 7aa201dd30
4 changed files with 29 additions and 13 deletions

View file

@ -94,8 +94,12 @@ class print_usage(argparse.Action):
doc = doc.replace(">", "\>")
doc = doc.replace("\n", "<br />")
if os.path.exists(os.path.join(basepath, 'screenshots', '{}.png'.format(m))):
doc = '{}<p /><p />![{}](../screenshots/{}.png)'.format(doc, m, m)
if os.path.exists(
os.path.join(basepath, "screenshots", "{}.png".format(m))
):
doc = "{}<p /><p />![{}](../screenshots/{}.png)".format(
doc, m, m
)
print("|{} |{} |".format(m, doc))
else: