0ptr/nullptr/models/system_member.py
2023-06-13 22:29:04 +02:00

11 lines
182 B
Python

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]}'