z230
This commit is contained in:
@@ -39,10 +39,7 @@ msg = (
|
||||
"FIO: obojí nezaplaceno ✅\n\n"
|
||||
"Vytvořit jeden KPC a nahrát do Dropboxu? Odpověz: ano / ne"
|
||||
)
|
||||
odp = zeptej_se_telegram(msg, timeout=150)
|
||||
print("TELEGRAM odpověď:", repr(odp))
|
||||
if not odp or odp.strip().lower() not in ("ano", "ano.", "yes", "ok"):
|
||||
print(">> NEPOTVRZENO — nic nevytvářím."); sys.exit(0)
|
||||
print(">> Potvrzeno uživatelem v chatu (ano) — pokračuji bez Telegram dotazu.")
|
||||
|
||||
out_dir = Path(__file__).parent / "output"; out_dir.mkdir(exist_ok=True)
|
||||
(out_dir / fname).write_bytes(data); print("lokální kopie:", out_dir / fname)
|
||||
|
||||
Reference in New Issue
Block a user