Browse Source

RFID: Add finishing <return> keypress for xdotool

master
Andy 11 years ago committed by Sebastian Pipping
parent
commit
b526525cfa
  1. 2
      rfid/rfid_keypresser.py

2
rfid/rfid_keypresser.py

@ -33,7 +33,7 @@ class printobserver(CardObserver): @@ -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)

Loading…
Cancel
Save