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 95a92d3b
authored
2023-10-04 16:45:55 -0300
by
Juan Pablo dure
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
qwd
1 parent
3f5e999a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
fosadiaria.py
fosadiaria.py
View file @
95a92d3
...
...
@@ -23,6 +23,10 @@ class FosaDiaria():
now
=
datetime
.
datetime
.
now
()
dia
=
now
.
strftime
(
"
%
d/
%
m/
%
Y"
)
try
:
data1
=
self
.
Cache
[
dia
]
except
:
self
.
Cache
[
dia
]
=
{}
try
:
data
=
self
.
Cache
[
dia
][
dominio
]
except
:
data
=
False
...
...
@@ -43,7 +47,7 @@ class FosaDiaria():
del
data
except
Exception
as
E
:
print
(
"Error al limpiar datos "
,
E
)
fin
=
datetime
.
datetime
.
strftime
(
hora_format_cent
)
fin
=
datetime
.
datetime
.
now
()
.
strftime
(
hora_format_cent
)
return
(
fin
)
def
ActualizarDatosDominios
(
self
,
selenium
,
dia
):
...
...
@@ -59,7 +63,7 @@ class FosaDiaria():
print
(
data
[
"domino"
],
type
(
data
[
"domino"
]))
try
:
test
=
self
.
Cache
[
dia
]
print
(
test
)
#
print(test)
except
:
self
.
Cache
[
dia
]
=
{}
for
n
in
data
[
"domino"
]
.
keys
():
...
...
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