removed unnecessary finally statement

This commit is contained in:
Jakub Trllo 2022-08-11 15:22:23 +02:00
parent 683468c563
commit bb9a16100a

View file

@ -205,9 +205,8 @@ class AbstractTemplateLoader:
raise KeyError(
"Could not solve key '{}' in template path '{}'".format(
missing_key, path))
finally:
solved_path = os.path.normpath(solved_path)
solved_path = os.path.normpath(solved_path)
if not os.path.exists(solved_path):
raise TemplateNotFound(
"Template found in openPype settings for task '{}' with host "