is to equal

This commit is contained in:
Emmanuel Garette 2020-08-12 08:08:42 +02:00
parent dc3a3b00c6
commit b9e2268f43
1 changed files with 1 additions and 1 deletions

View File

@ -1195,7 +1195,7 @@ class Config:
value: Any) -> bool:
if not path in self.form or not 'pattern' in self.form[path]:
return True
if value is None or value is '':
if value is None or value == '':
match = True
else:
if isinstance(value, int):