fix loading of collections

pull/53/head
Zlatin Balevsky 2020-10-31 08:51:42 +00:00
parent 846b158706
commit fd70dd5f65
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class CollectionManager {
private void load() {
log.info("loading collections")
Files.walk(localCollections.toPath())
.filter({it.getFileName().endsWith(".mwcomment")})
.filter({it.getFileName().toString().endsWith(".mwcollection")})
.forEach({ path ->
log.fine("processing $path")
try {