[IMP] hw_scanner: remove useless controller

bzr revid: fva@openerp.com-20140212165145-i1vevufc1bluq31y
This commit is contained in:
Frédéric van der Essen 2014-02-12 17:51:45 +01:00
parent 15db009e99
commit e53dd423e0
1 changed files with 0 additions and 4 deletions

View File

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