mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 08:18:52 -05: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