From a6e0225c9e22d76fae9493008cad8510d94905e9 Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Sun, 29 Mar 2020 19:56:43 +0200 Subject: web deleted --- web/website/fonctions.py | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100755 web/website/fonctions.py (limited to 'web/website/fonctions.py') diff --git a/web/website/fonctions.py b/web/website/fonctions.py deleted file mode 100755 index c1566af..0000000 --- a/web/website/fonctions.py +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/python3 -# -*- coding: utf-8 -*- -import psycopg2 - -def baseHTML(title,body): - content=(""" - - - """+ title +""" - - - - """+ body +""" - - - """) - return content - - -def connexionBD(): - connexion=psycopg2.connect ("host='localhost' dbname='atsdb' user='atsuser' password='123456'") - return connexion - -- cgit v1.2.3