Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -76,11 +76,12 @@ def program_gps(iccid_list, placa, imei, operario):
|
|
| 76 |
if sim_card_service == 'SUSPENDED':
|
| 77 |
status_text += "Bloqueada por consumo, solicitar reactivaci贸n.\n"
|
| 78 |
text += status_text
|
|
|
|
| 79 |
else:
|
| 80 |
text += f"{sim} (Placa: {placa}, IMEI: {imei}) - fail\n"
|
| 81 |
|
| 82 |
# Guarda los datos en Google Sheets
|
| 83 |
-
|
| 84 |
|
| 85 |
return text
|
| 86 |
|
|
|
|
| 76 |
if sim_card_service == 'SUSPENDED':
|
| 77 |
status_text += "Bloqueada por consumo, solicitar reactivaci贸n.\n"
|
| 78 |
text += status_text
|
| 79 |
+
save_to_google_sheets(sim, placa, imei, operario)
|
| 80 |
else:
|
| 81 |
text += f"{sim} (Placa: {placa}, IMEI: {imei}) - fail\n"
|
| 82 |
|
| 83 |
# Guarda los datos en Google Sheets
|
| 84 |
+
|
| 85 |
|
| 86 |
return text
|
| 87 |
|