0ptr/nullptr/models/system_member.py

11 lines
182 B
Python
Raw Normal View History

from .base import Base
class SystemMember(Base):
@classmethod
def ext(cls):
return 'obj'
def system(self):
p = self.symbol.split('-')
return f'{p[0]}-{p[1]}'