Browse Source

[FIX] Pylint on hw_customer_display and hw_telium_payment_terminal and flake8 on pos_remove_pos_category

pull/147/head
Carlos Vásquez 8 years ago
parent
commit
45bed436c4
  1. 9
      hw_customer_display/controllers/main.py

9
hw_customer_display/controllers/main.py

@ -26,15 +26,18 @@ import simplejson
import time
from threading import Thread, Lock
from Queue import Queue
from unidecode import unidecode
from serial import Serial
import openerp.addons.hw_proxy.controllers.main as hw_proxy
from openerp import http
from openerp.tools.config import config
logger = logging.getLogger(__name__)
try:
from serial import Serial
from unidecode import unidecode
except (ImportError, IOError) as err:
logger.debug(err)
class CustomerDisplayDriver(Thread):
def __init__(self):

Loading…
Cancel
Save