RFID: Add finishing <return> keypress for xdotool

This commit is contained in:
Andy 2011-10-18 01:25:14 +02:00 committed by Sebastian Pipping
parent 7c8a072f4f
commit b526525cfa
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class printobserver(CardObserver):
try:
# Send UID to active window
subprocess.Popen(['xdotool', 'type', send])
subprocess.Popen(['xdotool', 'type', send+'\n'])
except OSError as e:
print str(e)