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

Remplacement tex/pdf

parent 33e8b9e0
Pipeline #339053 passed with stages
in 36 seconds
...@@ -13,3 +13,4 @@ pythontex* ...@@ -13,3 +13,4 @@ pythontex*
*.toc *.toc
*.thm *.thm
*.synctex.gz *.synctex.gz
*.auxlock
...@@ -62,6 +62,7 @@ def attach_document(token, document, context): ...@@ -62,6 +62,7 @@ def attach_document(token, document, context):
headers=headers, headers=headers,
data=data_binary data=data_binary
) )
return r
...@@ -75,5 +76,5 @@ if __name__ == '__main__': ...@@ -75,5 +76,5 @@ if __name__ == '__main__':
context = put_seance(token, seance['dates'], seance['classe'], seance['message']) context = put_seance(token, seance['dates'], seance['classe'], seance['message'])
documents = seance['fichiers'].split(' ') documents = seance['fichiers'].split(' ')
for document in documents: for document in documents:
attach_document(token, document, context) attach_document(token, document.replace('.tex','.pdf'), context)
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