Compare commits

...

1 Commits

Author SHA1 Message Date
Emmanuel Garette b9e2268f43 is to equal 2020-08-12 08:08:42 +02:00
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):