fix bug in crops

This commit is contained in:
iLLiCiTiT 2021-05-28 12:26:43 +02:00
parent 62e583cd74
commit bdcb14b89d

View file

@ -1686,7 +1686,7 @@ class OverscanCrop:
def _convert_string_to_values(self, orig_string_value):
string_value = orig_string_value.strip().lower()
if not string_value:
return
return [None, None]
# Replace "px" (and spaces before) with single space
string_value = re.sub(r"([ ]+)?px", " ", string_value)