[IMP] hw_scanner: remove useless controller
bzr revid: fva@openerp.com-20140212165145-i1vevufc1bluq31y
This commit is contained in:
parent
15db009e99
commit
e53dd423e0
|
@ -129,10 +129,6 @@ class Scanner(Thread):
|
|||
self.set_status('error',str(e))
|
||||
return None
|
||||
|
||||
@http.route('/hw_proxy/Vis_scanner_connected', type='json', auth='none', cors='*')
|
||||
def is_scanner_connected(self):
|
||||
return self.get_device() != None
|
||||
|
||||
def get_barcode(self):
|
||||
""" Returns a scanned barcode. Will wait at most 5 seconds to get a barcode, and will
|
||||
return barcode scanned in the past if they are not older than 5 seconds and have not
|
||||
|
|
Loading…
Reference in New Issue