mirror of
https://github.com/photoprism/photoprism.git
synced 2025-09-27 13:13:32 +08:00
Backend: Refactor thumbnail package #157
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
@@ -12,14 +12,14 @@ import (
|
||||
"syscall"
|
||||
|
||||
"github.com/photoprism/photoprism/internal/event"
|
||||
"github.com/photoprism/photoprism/internal/util"
|
||||
"github.com/photoprism/photoprism/internal/file"
|
||||
"github.com/sevlyar/go-daemon"
|
||||
)
|
||||
|
||||
var log = event.Log
|
||||
|
||||
func childAlreadyRunning(filePath string) (pid int, running bool) {
|
||||
if !util.Exists(filePath) {
|
||||
if !file.Exists(filePath) {
|
||||
return pid, false
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user