Commit a6f9d1db authored by Jiahang Chen's avatar Jiahang Chen
Browse files

fix class name bug

parent 622324df
Pipeline #360380 passed with stages
in 53 seconds
......@@ -6,11 +6,10 @@ class Role(ABC):
def __init__(self, name="", identifier=""):
self.__identifier = ID(identifier).identifier
self.__name = name
if "ml40\\fml40" in sys.modules[self.__class__.__module__].__file__:
if 'ml\\fml40' in sys.modules[self.__class__.__module__].__file__:
self.__class_name = "fml40::{}".format(self.__class__.__name__)
else:
self.__class_name = "ml40::{}".format(self.__class__.__name__)
self.__json_out = dict()
@property
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment