removed unnecessary function

This commit is contained in:
iLLiCiTiT 2021-03-30 15:00:44 +02:00
parent d81625cf71
commit 6d198ab4fa

View file

@ -9,10 +9,6 @@ from pype.tools import workfiles
log = Logger().get_logger(__name__)
def _show_workfiles(*args, **kwargs):
workfiles.show(os.environ["AVALON_WORKDIR"])
def install():
menubar = nuke.menu("Nuke")
menu = menubar.findItem(Session["AVALON_LABEL"])
@ -28,7 +24,7 @@ def install():
menu.removeItem(rm_item[1].name())
menu.addCommand(
name,
_show_workfiles,
workfiles.show,
index=(rm_item[0])
)