예제 #1
0
파일: person.py 프로젝트: ruofeidu/DuWebKit
 def get_name_markdown(self):
     if 'web' in self._data and self._data['web'] and not self.is_me():
         return DuMark.get_website(self._data['web'], str(self))
     else:
         return str(self)
예제 #2
0
파일: person.py 프로젝트: ruofeidu/DuWebKit
 def get_website_markdown(self):
     return DuMark.get_website(self._data['web'])