Blender Kitsu: Refactor Shot Builder #183
@ -103,9 +103,7 @@ class Hooks:
|
|||||||
shot_builder_config_dir = root_dir.joinpath("pro/assets/scripts/shot-builder")
|
shot_builder_config_dir = root_dir.joinpath("pro/assets/scripts/shot-builder")
|
||||||
if not shot_builder_config_dir.exists():
|
if not shot_builder_config_dir.exists():
|
||||||
raise Exception("Shot Builder Hooks directory does not exist")
|
raise Exception("Shot Builder Hooks directory does not exist")
|
||||||
paths = [
|
paths = [shot_builder_config_dir.resolve().__str__()]
|
||||||
shot_builder_config_dir.resolve().__str__() # TODO Make variable path
|
|
||||||
] # TODO Set path to where hooks are stored
|
|
||||||
with SystemPathInclude(paths) as _include:
|
with SystemPathInclude(paths) as _include:
|
||||||
try:
|
try:
|
||||||
import hooks as production_hooks
|
import hooks as production_hooks
|
||||||
|
Loading…
Reference in New Issue
Block a user