1. Douglas Soares de Andrade
  2. opencert

Commits

Douglas Soares de Andrade  committed 67bd059

[OC] ALT: Fixing the way to get the person role

  • Participants
  • Parent commits 0af33ac
  • Branches default

Comments (0)

Files changed (1)

File forms.py

View file
  • Ignore whitespace
         p.setFontSize(16)
         p.setFillColorCMYK(14,10,8,0)
         
-        if person.role == "Participante":
+        if person.role.role == "Participante":
             p.drawString(150,365,person.name)
         else:
             p.drawString(126,387,person.name)