RFID: Add finishing <return> keypress for xdotool

This commit is contained in:
Andy 2011-10-18 01:25:14 +02:00 提交者 Sebastian Pipping
父節點 7c8a072f4f
當前提交 b526525cfa
共有 1 個檔案被更改,包括 1 行新增1 行删除

查看文件

@ -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)