diff options
author | clyhtsuriva <clyhtsuriva@gmail.com> | 2020-04-19 22:46:14 +0200 |
---|---|---|
committer | clyhtsuriva <clyhtsuriva@gmail.com> | 2020-04-19 22:46:14 +0200 |
commit | b3fcd4eb76bf4b6e6bf53c3d9e197d97fc0b040e (patch) | |
tree | ddcf2f164ece4dbe6006538da45ae20c9b203064 /www/html | |
parent | 0811923c9e20194faefb181f6d974bcf80d51137 (diff) |
update fonction lien
Diffstat (limited to 'www/html')
-rwxr-xr-x | www/html/fonctions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/html/fonctions.py b/www/html/fonctions.py index 17c3624..74977ce 100755 --- a/www/html/fonctions.py +++ b/www/html/fonctions.py @@ -21,6 +21,6 @@ def connexionBD(): connexion=psycopg2.connect ("host='localhost' dbname='atsdb' user='atsuser' password='123456'") return connexion -def lien(url,text): +def lien(url,texte): content=("""<a href=" """ + url + """ ">""" + texte + """</a>""") return content |