From a7b6fb9705ebb7e185b76c12621217d32e4cb6b8 Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Sun, 19 Jan 2025 20:41:48 +0100 Subject: [PATCH] Correct probably last occurance of manually set path delimeter --- cmd/backend/docx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/backend/docx.go b/cmd/backend/docx.go index 8e34e07..5413c6f 100644 --- a/cmd/backend/docx.go +++ b/cmd/backend/docx.go @@ -33,7 +33,7 @@ func ConvertToMarkdown(c *Config, filename string) ([]byte, error) { return nil, fmt.Errorf("error reading markdown file: %v", err) } - imageNames, err := filepath.Glob(filepath.Join(tmpDir, "/media/*")) + imageNames, err := filepath.Glob(filepath.Join(tmpDir, "media", "*")) if err != nil { return nil, fmt.Errorf("error getting docx images from temporary directory: %v", err) }