[FIX] hw_scanner: spurious method rename in 5b19ae8a59
`scanner` is the route method to override in hw_proxy
This commit is contained in:
parent
787a1422d7
commit
223541edb4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue