Correct probably last occurance of manually set path delimeter

This commit is contained in:
Jason Streifling 2025-01-19 20:41:48 +01:00
parent 2f4d5d4c7c
commit a7b6fb9705

View File

@ -33,7 +33,7 @@ func ConvertToMarkdown(c *Config, filename string) ([]byte, error) {
return nil, fmt.Errorf("error reading markdown file: %v", err) 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 { if err != nil {
return nil, fmt.Errorf("error getting docx images from temporary directory: %v", err) return nil, fmt.Errorf("error getting docx images from temporary directory: %v", err)
} }