Fix incorrect argument for pxe_server.py

A caller to setup_logging function had an incorrect argument.
The log_file variable was set to a tuple when actually a string
was required.

This was causing python traceback on each test suite execution.

Change-Id: I858a9a524cee2703a38fef45a770da9fa3565d22
Signed-off-by: Erich Cordoba <erich.cordoba.malibran@intel.com>
This commit is contained in:
Erich Cordoba 2019-09-12 07:44:05 -05:00
parent bc0efc1806
commit d52cd24b5b
1 changed files with 3 additions and 3 deletions

View File

@ -30,9 +30,9 @@ PROMPT = '$'
# Setup the logger
LOG_FILENAME = 'iso_setup_baremetal.log'
LOG_PATH = config.get('general', 'LOG_PATH')
LOG = logger.setup_logging('iso_setup_baremetal', log_file=('%s/%s', LOG_PATH,
LOG_FILENAME),
console_log=False)
LOG = logger.setup_logging('iso_setup_baremetal',
log_file='%s/%s'.format(LOG_PATH, LOG_FILENAME),
console_log=False)
class PxeServer(object):