Skip to content

Commit

Permalink
fix fmt sprintf in thumbnails.go (#740)
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k1o authored Dec 24, 2024
1 parent 3425544 commit b4e2253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transcoder/src/thumbnails.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (s *MetadataService) ExtractThumbs(path string, sha string) (interface{}, e
func extractThumbnail(path string, sha string) error {
defer printExecTime("extracting thumbnails for %s", path)()

os.MkdirAll(fmt.Sprintf("%s/%s", Settings.Metadata), 0o755)
os.MkdirAll(fmt.Sprintf("%s/%s", Settings.Metadata, sha), 0o755)

if _, err := os.Stat(getThumbPath(sha)); err == nil {
return nil
Expand Down

0 comments on commit b4e2253

Please sign in to comment.