Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Luciano Barletta
/
Pruebas-RTO
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit baea502e
authored
2024-07-31 18:25:08 -0300
by
Tu Nombre
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Tolerancia a error de categoria
1 parent
d8151402
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
reportes.py
reportes.py
View file @
baea502
...
...
@@ -3,7 +3,7 @@ import json, configuracion
def
BuscarReporteDefecto
(
linea
,
tipo
,
cantidadEjes
=
2
):
linea
=
str
(
linea
)
cantidadEjes
=
str
(
cantidadEjes
)
tipo
=
tipo
.
upper
()
tipo
=
str
(
tipo
)
.
upper
()
with
open
(
"data/reportes.json"
,
'r'
)
as
f
:
data
=
json
.
load
(
f
)
try
:
...
...
@@ -13,7 +13,7 @@ def BuscarReporteDefecto(linea,tipo,cantidadEjes=2):
rta
=
configuracion
.
reporte_defecto
if
rta
in
[
""
,
False
]:
rta
=
configuracion
.
reporte_defecto
[
cantidadEjes
]
print
(
rta
)
#
print(rta)
return
rta
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment