def __init__(self):
self.path = self._script_path()
try:
self.settings = project.get_project_settings() # get settings
self.configPath = self.settings.get("RESOURCE_DIR")
except:
pass
if 'configPath' in self.__dict__:
self.path = self.configPath
评论列表
文章目录