fix path to template

This commit is contained in:
iLLiCiTiT 2020-12-14 19:20:19 +01:00
parent 021241de97
commit dd462986c2

View file

@ -78,7 +78,7 @@ class TvpaintPrelaunchHook(PreLaunchHook):
# TODO add ability to set different template workfile path via
# settings
pype_dir = os.path.dirname(os.path.abspath(tvpaint.__file__))
template_path = os.path.join(pype_dir, "template.tvpp")
template_path = os.path.join(pype_dir, "api", "template.tvpp")
if not os.path.exists(template_path):
self.log.warning(