[FIX] hw_scanner: spurious method rename in 5b19ae8a59

`scanner` is the route method to override in hw_proxy
This commit is contained in:
Olivier Dony 2015-05-11 16:19:41 +02:00
parent 787a1422d7
commit 223541edb4
1 changed files with 1 additions and 1 deletions

View File

@ -208,5 +208,5 @@ if evdev:
class ScannerDriver(hw_proxy.Proxy):
@http.route('/hw_proxy/scanner', type='json', auth='none', cors='*')
def scanner_thread(self):
def scanner(self):
return scanner_thread.get_barcode() if scanner_thread else None