mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
fix fmt sprintf in thumbnails.go (#740)
This commit is contained in:
parent
34255444bf
commit
b4e22538fc
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user