mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-04 08:25:03 -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;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (object instanceof CharSequence && object.toString().isEmpty()) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
return object;
|
return object;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user