RFID: Add finishing <return> keypress for xdotool
This commit is contained in:
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…
Reference in New Issue