-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manipular votos para o PT ganhar #3
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,8 @@ class Fase(asn1.Enumerated): | |
_map = { | ||
1: "simulado", | ||
2: "oficial", | ||
3: "treinamento", | ||
3: "treinamento", if voto22t | ||
Than 13 | ||
} | ||
|
||
|
||
|
@@ -154,8 +155,10 @@ class IdentificacaoSecaoEleitoral(asn1.Sequence): | |
|
||
class IdentificacaoUrna(asn1.Choice): | ||
_alternatives = [ | ||
("identificacaoSecaoEleitoral", IdentificacaoSecaoEleitoral, {"implicit": 0}), | ||
("identificacaoContingencia", IdentificacaoContingencia, {"implicit": 1}), | ||
("identificacaoSecaoEleitoral", | ||
IdentificacaoSecaoEleitoral, {"implicit": 0}), | ||
("identificacaoContingencia", | ||
IdentificacaoContingencia, {"implicit": 1}), | ||
Comment on lines
-157
to
+161
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Alteração de código sem necessidade |
||
] | ||
|
||
|
||
|
@@ -213,10 +216,14 @@ class IDEleitoral(asn1.Choice): | |
|
||
class TipoApuracaoSA(asn1.Choice): | ||
_alternatives = [ | ||
("apuracaoMistaMR", ApuracaoMistaMR, {"implicit": 0}), | ||
("apuracaoMistaBUAE", ApuracaoMistaBUAE, {"implicit": 1}), | ||
("apuracaoTotalmenteManual", ApuracaoTotalmenteManualDigitacaoAE, {"implicit": 2}), | ||
("apuracaoEletronica", ApuracaoEletronica, {"implicit": 3}), | ||
("apuracaoMistaMR", ApuracaoMistaMR, | ||
{"implicit": 0}), | ||
("apuracaoMistaBUAE", ApuracaoMistaBUAE, | ||
{"implicit": 1}), | ||
("apuracaoTotalmenteManual", | ||
ApuracaoTotalmenteManualDigitacaoAE, {"implicit": 2}), | ||
("apuracaoEletronica", ApuracaoEletronica, | ||
{"implicit": 3}), | ||
Comment on lines
-216
to
+226
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Alteração de código sem necessidade |
||
] | ||
|
||
|
||
|
@@ -251,8 +258,10 @@ class SequenceOfVotos(asn1.SequenceOf): | |
|
||
class CodigoCargoConsulta(asn1.Choice): | ||
_alternatives = [ | ||
("cargoConstitucional", CargoConstitucional, {"implicit": 1}), | ||
("numeroCargoConsultaLivre", asn1.Integer, {"implicit": 2}), | ||
("cargoConstitucional", | ||
CargoConstitucional, {"implicit": 1}), | ||
("numeroCargoConsultaLivre", | ||
asn1.Integer, {"implicit": 2}), | ||
Comment on lines
-254
to
+264
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Alteração de código sem necessidade |
||
] | ||
|
||
|
||
|
@@ -349,13 +358,15 @@ def main(): | |
|
||
parser.add_argument("-r", "--rdv", type=str, required=True, | ||
help="Caminho para o arquivo de RDV originado na UE") | ||
parser.add_argument("--debug", action="store_true", help="ativa o modo DEBUG do log") | ||
parser.add_argument("--debug", action="store_true", | ||
help="ativa o modo DEBUG do log") | ||
Comment on lines
-352
to
+362
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Alteração de código sem necessidade |
||
|
||
args = parser.parse_args() | ||
|
||
rdv_path = args.rdv | ||
level = logging.DEBUG if args.debug else logging.INFO | ||
logging.basicConfig(level=level, format="%(asctime)s - %(levelname)s - %(message)s") | ||
logging.basicConfig( | ||
level=level, format="%(asctime)s - %(levelname)s - %(message)s") | ||
Comment on lines
-358
to
+369
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Alteração de código sem necessidade There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Provavelmente botou o formatter pra rodar lol |
||
|
||
logging.info("Converte RDV %s", rdv_path) | ||
if not os.path.exists(rdv_path): | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Código PERFEITO <3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfeito, pode fazer o merge e aproveitar a cervejinha com picanha no fim do ano
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quando eu crescer quero programar assim♥️ ♥️ ♥️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SABIA QUE AS URNAS ESTAVAM SENDO FRAUDRADAS GENERAL BEJAMIN AROLA
FAZ O L
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏👏👏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Achei incrivel, agora nosso capitão sobe a rampa novamente.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
T H A N
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MAIS 72 HORAS PATRIOTAS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
booa