Reformatted code base using black.

This commit is contained in:
Goffi 2024-06-19 18:44:57 +02:00
commit 53fdaa9d09

View file

@ -57,6 +57,7 @@ def add_url_to_text(string, new_target=True):
@param string (unicode): text to process
@param new_target (bool): if True, make the link open in a new window
"""
# XXX: report any change to libervia.browser.strings.add_url_to_text
def repl(match):
url = match.group(0)
@ -73,6 +74,7 @@ def add_url_to_image(string):
@param string (unicode): text to process
"""
# XXX: report any change to libervia.browser.strings.add_url_to_image
def repl(match):
url = match.group(1)