Commit b5df2fc6 authored by Vincent-Xavier JUMEL's avatar Vincent-Xavier JUMEL 📚
Browse files

On rétroporte une fonctionnalité de publish

parent 4c4b11dc
Pipeline #339070 passed with stages
in 1 minute and 6 seconds
......@@ -51,6 +51,7 @@ def put_seance(token, date, classe, contenu):
return context
def attach_document(token, document, context):
document = document.split('/')[-1]
idContexte = json.loads(context.text)["data"]['idCDT']
with open(document,'rb') as f:
data = f.read()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment