diff --git a/meta/folder.groovy b/meta/folder.groovy index 143d29b..2651e70 100644 --- a/meta/folder.groovy +++ b/meta/folder.groovy @@ -751,8 +751,8 @@ class MetaInfo extends GISJsonSerialised { } void deserialiseJson(rawmeta) { - script.echo("Format: ${rawmeta['format']}") - if (rawmeta['format'] != '0.1' || rawmeta['format'] != '0.2' ) { + script.echo("Format: ${rawmeta['format']} ${rawmeta['format'].getClass()}") + if (rawmeta['format'].toString() != '0.1' || rawmeta['format'].toString() != '0.2' ) { script.error("Unsupported meta format found") return }