Merged in feature/PYPE-266-nuke-frame-range-improve (pull request #114)

feat(nuke): cleaning

Approved-by: Milan Kolar <milan@orbi.tools>
This commit is contained in:
Jakub Jezek 2019-04-12 15:38:25 +00:00 committed by Milan Kolar
commit febfd46b4d
2 changed files with 5 additions and 6 deletions

View file

@ -92,13 +92,15 @@ def reload_config():
"{}.templates".format(AVALON_CONFIG),
"{}.nuke.actions".format(AVALON_CONFIG),
"{}.nuke.templates".format(AVALON_CONFIG),
"{}.nuke.menu".format(AVALON_CONFIG)
"{}.nuke.menu".format(AVALON_CONFIG),
"{}.nuke.lib".format(AVALON_CONFIG),
):
log.info("Reloading module: {}...".format(module))
module = importlib.import_module(module)
try:
module = importlib.import_module(module)
reload(module)
except Exception:
except Exception as e:
log.warning("Cannot reload module: {}".format(e))
importlib.reload(module)

View file

@ -1,3 +0,0 @@
import nuke
n = nuke.createNode("Constant")
print(n)