Backend: Add unit tests for internal/photoprism
This commit is contained in:
parent
2866cb9215
commit
f18ac917ab
|
@ -255,7 +255,6 @@ func (m *MediaFile) EditedName() string {
|
|||
// JsonName returns the corresponding JSON sidecar file name as used by Google Photos (and potentially other apps).
|
||||
func (m *MediaFile) JsonName() string {
|
||||
jsonName := m.fileName + ".json"
|
||||
fmt.Println(jsonName)
|
||||
|
||||
if fs.FileExists(jsonName) {
|
||||
return jsonName
|
||||
|
|
Loading…
Reference in a new issue