示例#1
0
 def _transform(self, data):
     data["iconPath"] = tft_url(data["iconPath"])
     return data
示例#2
0
 def icon_abspath(self) -> str:
     return tft_url(self.icon_path)
示例#3
0
文件: trait.py 项目: sousa-andre/Pyot
 def _transform(self, data):
     data["iconPath"] = tft_url(data.pop("icon"))
     data["cleanedDescription"] = cdragon_sanitize(data["desc"])
     return data