"use_python_2" is optional in application settings

This commit is contained in:
iLLiCiTiT 2021-06-29 13:47:37 +02:00
parent dd516be9b7
commit 13aec9cb57

View file

@ -179,7 +179,7 @@ class Application:
if group.enabled:
enabled = data.get("enabled", True)
self.enabled = enabled
self.use_python_2 = data["use_python_2"]
self.use_python_2 = data.get("use_python_2", False)
self.label = data.get("variant_label") or name
self.full_name = "/".join((group.name, name))