RFID: Add finishing <return> keypress for xdotool

master
Andy 13 years ago committed by Sebastian Pipping
parent 7c8a072f4f
commit b526525cfa

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

Loading…
Cancel
Save