[libcalamares] Return None for empty GS keys
All unknown-variants return None, but this only happens in practice with an empty variant (e.g. a configuration key that is empty in the YAML). FIXES #2237
This commit is contained in:
parent
8305b6cb1a
commit
146f549552
@ -95,7 +95,7 @@ variantToPyObject( const QVariant& variant )
|
||||
case QVariant::Invalid:
|
||||
#endif
|
||||
default:
|
||||
return py::object();
|
||||
return py::none();
|
||||
}
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic pop
|
||||
|
Loading…
Reference in New Issue
Block a user