mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 00:38:52 -05:00
* sanity check
This commit is contained in:
parent
aaa5a71e49
commit
6c85adb431
@ -777,7 +777,7 @@ public class MediaBindingBean {
|
|||||||
public String getUserDefinedLabel() throws IOException {
|
public String getUserDefinedLabel() throws IOException {
|
||||||
for (Entry<String, String> it : getUserDefinedArguments().entrySet()) {
|
for (Entry<String, String> it : getUserDefinedArguments().entrySet()) {
|
||||||
if (it.getKey().endsWith("label")) {
|
if (it.getKey().endsWith("label")) {
|
||||||
if (it.getValue().length() > 0) {
|
if (it.getValue() != null && it.getValue().length() > 0) {
|
||||||
return it.getValue();
|
return it.getValue();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user