diff --git a/plasmid/source/core-plugins/newbrowser/1/as/initialize-master-data.py b/plasmid/source/core-plugins/newbrowser/1/as/initialize-master-data.py index 892d6c4f6d711da004dc42e214b0a79b4e73fb3d..4b6a612546846ce4473dad8f324278b7bf6faec4 100644 --- a/plasmid/source/core-plugins/newbrowser/1/as/initialize-master-data.py +++ b/plasmid/source/core-plugins/newbrowser/1/as/initialize-master-data.py @@ -17,7 +17,9 @@ ## ## Configuration ## -PATH_TO_MANAGE_PROPERTIES_SCRIPTS = "/Users/juanf/Documents/workspace/openbis/source/core-plugins/newbrowser/1/compatibility/"; +import sys + +PATH_TO_MANAGE_PROPERTIES_SCRIPTS = "%s/../compatibility/" % [p for p in sys.path if p.find('core-plugins') >= 0][0]; #PATH_TO_MANAGE_PROPERTIES_SCRIPTS = "/Users/juanf/Documents/installations/S195/servers/core-plugins/newbrowser/1/compatibility/"; # MasterDataRegistrationTransaction Class