Improvements
This commit is contained in:
parent
084c886933
commit
bec16f8dcb
4 changed files with 40 additions and 12 deletions
6
main.py
6
main.py
|
|
@ -48,7 +48,11 @@ def show_message() -> str:
|
|||
wiki_part2=wiki_part2,
|
||||
)
|
||||
|
||||
return flask.render_template("show_message.html", msg=msg)
|
||||
subject = f"Request to use your photo of {name} on Wikipedia"
|
||||
|
||||
lines = msg.split("\n\n")
|
||||
|
||||
return flask.render_template("show_message.html", subject=subject, lines=lines)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue