diff --git a/python/fucking_coffee.py b/python/fucking_coffee.py index c19572f..5a5cdd8 100755 --- a/python/fucking_coffee.py +++ b/python/fucking_coffee.py @@ -14,13 +14,15 @@ 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") diff --git a/python3/fucking_coffee.py b/python3/fucking_coffee.py index 0268b79..b300780 100755 --- a/python3/fucking_coffee.py +++ b/python3/fucking_coffee.py @@ -24,7 +24,7 @@ def main(): conn.write(COFFEE_MACHINE_PASS) conn.write('sys brew') - time.sleep(64) + time.sleep(24) conn.write('sys pour') conn.close()