flame: removing redundant validation

This commit is contained in:
Jakub Jezek 2022-10-11 17:32:13 +02:00
parent 845ad59d6c
commit e5f6bca5d5
No known key found for this signature in database
GPG key ID: 730D7C02726179A7

View file

@ -44,13 +44,6 @@ class FlamePrelaunch(PreLaunchHook):
# get image io
project_settings = self.data["project_settings"]
# make sure anatomy settings are having flame key
if not project_settings["flame"].get("imageio"):
raise ApplicationLaunchFailed(
"Project settings are missing `flame/imageio` key. "
"Please make sure to update project settings."
)
imageio_flame = project_settings["flame"]["imageio"]
# get user name and host name