sync: add error message when missing heading.jpg
This commit is contained in:
parent
26eab7ed67
commit
fbae34ee4f
@ -97,6 +97,8 @@ func BuildTheme(i Importer, tdir string) (th *fic.Theme, errs []string) {
|
||||
th.Image = path.Join(tdir, "heading.jpg")
|
||||
} else if i.exists(path.Join(tdir, "heading.png")) {
|
||||
th.Image = path.Join(tdir, "heading.png")
|
||||
} else {
|
||||
errs = append(errs, fmt.Sprintf("%q: heading.jpg: No such file", tdir))
|
||||
}
|
||||
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user