Skip to content
Snippets Groups Projects

Sazba diplomů

1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
+ 4
0
@@ -1081,6 +1081,10 @@ class CertSet(Base):
@@ -1081,6 +1081,10 @@ class CertSet(Base):
scoretable = relationship('ScoreTable')
scoretable = relationship('ScoreTable')
job = relationship('Job')
job = relationship('Job')
 
def dir_path(self) -> str:
 
"""Adresář s daty relativně k mo.util.data_dir('certs')."""
 
return os.path.join(self.contest.round.round_code_short(), str(self.contest.contest_id))
 
class CertType(MOEnum):
class CertType(MOEnum):
participation = auto()
participation = auto()
Loading