fix(Go): Program only works with docx
This commit is contained in:
parent
32bedaf62d
commit
a1c4002c5a
@ -92,7 +92,7 @@ func fusionnerDocx(dossier string) {
|
||||
}
|
||||
|
||||
for _, fichier := range fichiers {
|
||||
if filepath.Ext(fichier.Name()) == ".doc" {
|
||||
if filepath.Ext(fichier.Name()) == ".docx" {
|
||||
cheminFichier := filepath.Join(dossier, fichier.Name())
|
||||
doc, err := document.Open(cheminFichier)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user