Retoques menores en refresher.
This commit is contained in:
parent
3fdbc5f766
commit
238b0f5305
3 changed files with 163 additions and 148 deletions
|
|
@ -49,17 +49,16 @@ class CapturasInterface():
|
|||
ON da.ad_url LIKE CONCAT('%', uc.referencia, '%')
|
||||
WHERE uc.fecha_captura < (NOW() - INTERVAL 10 day)
|
||||
AND da.ad_url is null
|
||||
ORDER BY RAND()
|
||||
LIMIT 1
|
||||
"""
|
||||
cursor_result = self.anunciosdb.query(query_statement, dictionary=True)
|
||||
try:
|
||||
return c
|
||||
return cursor_result.fetchone()
|
||||
except:
|
||||
return None
|
||||
|
||||
|
||||
|
||||
|
||||
capturas_interface = CapturasInterface()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue