Commit 7bdec268 authored by Reine-framboise's avatar Reine-framboise

Debbuging

parent fa7ffb87
......@@ -66,13 +66,13 @@ while True:
digit = kp.getKey()
if (digit=="#" ):
print "Code tapé : %s" % (code[-4:])
break
print "Faudrait taper un code avant de valider"
continue
code = str(digit)
while True:
try:
with Timeout(2):
digit = None
while digit == None:
digit = kp.getKey()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment