From 7ef1cda7593e3c2b414fdd25b33f04d17807393d Mon Sep 17 00:00:00 2001 From: notacoder69 Date: Tue, 9 Oct 2018 00:39:49 +0530 Subject: [PATCH] Fixed delays to the python implementation of fucking-coffee --- python/fucking_coffee.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/fucking_coffee.py b/python/fucking_coffee.py index c19572f..f553a4c 100755 --- a/python/fucking_coffee.py +++ b/python/fucking_coffee.py @@ -14,13 +14,14 @@ coffee_machine_ip = '10.10.42.42' password = '1234' password_prompt = 'Password: ' +time.sleep(17) con = telnetlib.Telnet(coffee_machine_ip) con.read_until(password_prompt) con.write(password + "\n") # Make some coffee! con.write("sys brew\n") -time.sleep(64) +time.sleep(24) # love the smell! con.write("sys pour\n")