Skip to content
Snippets Groups Projects

Minor fixes on test instance

Merged shammash requested to merge shammash/djrandom:master into master
+ 21
9
Compare changes
  • Side-by-side
  • Inline
Files
+ 5
1
@@ -48,8 +48,12 @@ func (afs *ByArtistFilesystem) Stat(path string) (Attr, error) {
if len(p) == 3 {
return afs.getSong(p[0], p[1], p[2])
} else if len(p) < 3 {
name := "/"
if len(p) > 0 {
name = p[len(p)-1]
}
attr := Attr{
Name: p[len(p)-1],
Name: name,
IsDir: true,
}
return attr, nil
Loading