Skip to content

Commit

Permalink
Fixed print error in generateAllCache
Browse files Browse the repository at this point in the history
  • Loading branch information
midstar committed Jan 8, 2020
1 parent 5d81a4a commit f7e489e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media.go
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ func (m *Media) generateCache(relativePath string, recursive, thumbnails, previe
// generateAllCache goes through all files in the media path
// and generates thumbnails/preview for these
func (m *Media) generateAllCache(thumbnails, preview bool) {
llog.Info("Pre-generating cache (thumbnails: %t, preview: %t", thumbnails, preview)
llog.Info("Pre-generating cache (thumbnails: %t, preview: %t)", thumbnails, preview)
startTime := time.Now().UnixNano()
stat := m.generateCache("", true, thumbnails, preview)
deltaTime := (time.Now().UnixNano() - startTime) / int64(time.Second)
Expand Down

0 comments on commit f7e489e

Please sign in to comment.