mirror of https://github.com/zlatinb/muwire
fix loading of collections
parent
846b158706
commit
fd70dd5f65
|
@ -63,7 +63,7 @@ class CollectionManager {
|
||||||
private void load() {
|
private void load() {
|
||||||
log.info("loading collections")
|
log.info("loading collections")
|
||||||
Files.walk(localCollections.toPath())
|
Files.walk(localCollections.toPath())
|
||||||
.filter({it.getFileName().endsWith(".mwcomment")})
|
.filter({it.getFileName().toString().endsWith(".mwcollection")})
|
||||||
.forEach({ path ->
|
.forEach({ path ->
|
||||||
log.fine("processing $path")
|
log.fine("processing $path")
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue