Browse Source

RFID: Add finishing <return> keypress for xdotool

Andy 10 years ago
parent
commit
b526525cfa
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      rfid/rfid_keypresser.py

+ 1
- 1
rfid/rfid_keypresser.py View File

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

Loading…
Cancel
Save