Skip to content

Commit

Permalink
[FIX prometheus-ar#3] Resolver problema con el tipo set. Usa add, y n…
Browse files Browse the repository at this point in the history
…o append!
  • Loading branch information
Cristian S. Rocha committed Jul 3, 2015
1 parent 0398e11 commit 5c15b8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msa/core/clases.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def sumar_seleccion(self, seleccion, serial=None):
if candidato_key not in candidatos_sumados:
self._resultados[candidato.cod_categoria,
candidato.codigo] += 1
candidatos_sumados.append(candidato_key)
candidatos_sumados.add(candidato_key)
else:
# Si llegamos a este punto es porque se ha
# leído una tarjeta hackeada. Que hacemos con ella?
Expand Down

0 comments on commit 5c15b8f

Please sign in to comment.