1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-02 08:25:02 -04:00

Deal with empty strings as if they're null in the format

This commit is contained in:
Reinhard Pointner 2016-04-07 16:43:40 +00:00
parent b933178f4e
commit 0dc6a49ef5

View File

@ -31,6 +31,9 @@ public class ExpressionFormatFunctions {
return null;
}
}
if (object instanceof CharSequence && object.toString().isEmpty()) {
return null;
}
return object;
}