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:
parent
b933178f4e
commit
0dc6a49ef5
@ -31,6 +31,9 @@ public class ExpressionFormatFunctions {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
if (object instanceof CharSequence && object.toString().isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
return object;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user