Browse Source

[FIX] hw_*: Don't import twice

pull/248/head
Pedro M. Baeza 7 years ago
parent
commit
9655ec3820
  1. 6
      hw_customer_display/controllers/main.py
  2. 6
      hw_telium_payment_terminal/controllers/main.py

6
hw_customer_display/controllers/main.py

@ -39,12 +39,6 @@ except (ImportError, IOError) as err:
logger.debug(err)
try:
from unidecode import unidecode
except ImportError:
logger.info('`unidecode` Python pacakge not found')
class CustomerDisplayDriver(Thread):
def __init__(self):
Thread.__init__(self)

6
hw_telium_payment_terminal/controllers/main.py

@ -40,12 +40,6 @@ except (ImportError, IOError) as err:
logger.debug(err)
try:
import pycountry
except ImportError:
_logger.info('`pycountry` Python package not found')
class TeliumPaymentTerminalDriver(Thread):
def __init__(self):
Thread.__init__(self)

Loading…
Cancel
Save