0ptr/models/system.py
Richard Bronkhorst cea10ae07c Info
2023-06-10 19:39:32 +02:00

13 lines
211 B
Python

from .base import Base
class System(Base):
@classmethod
def ext(self):
return 'stm'
def path(self):
sector, symbol = self.symbol.split('-')
return f'atlas/{sector}/{symbol}.{self.ext()}'