Fixed delays to the python3 implementation of fucking-coffee
This commit is contained in:
parent
7ef1cda759
commit
313a70b080
|
|
@ -17,14 +17,13 @@ def main():
|
|||
return
|
||||
|
||||
time.sleep(17)
|
||||
|
||||
conn = telnetlib.Telnet(host=COFFEE_MACHINE_ADDR)
|
||||
conn.open()
|
||||
conn.expect([COFFEE_MACHINE_PROM])
|
||||
conn.write(COFFEE_MACHINE_PASS)
|
||||
|
||||
conn.write('sys brew')
|
||||
time.sleep(64)
|
||||
time.sleep(24)
|
||||
|
||||
conn.write('sys pour')
|
||||
conn.close()
|
||||
|
|
|
|||
Loading…
Reference in New Issue