Spaces:
Sleeping
Sleeping
Nowme host generalize
Browse files- herramientas.py +2 -2
herramientas.py
CHANGED
|
@@ -21,7 +21,7 @@ def local_check():
|
|
| 21 |
#r-moibe-nowme
|
| 22 |
print("Dentro de local_check... , el hostname es: ", hostname)
|
| 23 |
|
| 24 |
-
if "
|
| 25 |
print("Ejecutando en el servidor")
|
| 26 |
return False
|
| 27 |
else:
|
|
@@ -67,7 +67,7 @@ def nuevoDia():
|
|
| 67 |
def obtenSegundosDisponibles():
|
| 68 |
|
| 69 |
print("Estoy en obten segundos disponibles...")
|
| 70 |
-
|
| 71 |
if nuevoDia() == True:
|
| 72 |
renuevaSegundosDisponibles()
|
| 73 |
|
|
|
|
| 21 |
#r-moibe-nowme
|
| 22 |
print("Dentro de local_check... , el hostname es: ", hostname)
|
| 23 |
|
| 24 |
+
if "-nowme" in hostname:
|
| 25 |
print("Ejecutando en el servidor")
|
| 26 |
return False
|
| 27 |
else:
|
|
|
|
| 67 |
def obtenSegundosDisponibles():
|
| 68 |
|
| 69 |
print("Estoy en obten segundos disponibles...")
|
| 70 |
+
|
| 71 |
if nuevoDia() == True:
|
| 72 |
renuevaSegundosDisponibles()
|
| 73 |
|