From ddf9d3d6aebe2bf0c994ba07652f6983e1bca99a Mon Sep 17 00:00:00 2001 From: wijnand Date: Fri, 30 Mar 2018 12:20:47 +0200 Subject: [PATCH] Removed register function as import adds it to module attributes --- colorbleed/__init__.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/colorbleed/__init__.py b/colorbleed/__init__.py index 1e47cf9995..13aa87c153 100644 --- a/colorbleed/__init__.py +++ b/colorbleed/__init__.py @@ -1,7 +1,7 @@ import os from pyblish import api as pyblish -from .config_actions import register_actions +from .launcher_actions import register_launcher_actions PACKAGE_DIR = os.path.dirname(__file__) PLUGINS_DIR = os.path.join(PACKAGE_DIR, "plugins") @@ -17,8 +17,3 @@ def install(): def uninstall(): pyblish.deregister_plugin_path(PUBLISH_PATH) - - -def register_launcher_actions(): - """Convenience function to register the actions""" - register_actions()