fixed log name being bytes instead of string

This commit is contained in:
Adolfo Gómez García 2020-11-03 05:41:32 +01:00
parent c35dc90264
commit a094e1ebee

View File

@ -40,7 +40,7 @@ if sys.platform.startswith('linux'):
from os.path import expanduser # pylint: disable=ungrouped-imports
logFile = expanduser('~/udsclient.log')
else:
logFile = os.path.join(tempfile.gettempdir(), b'udsclient.log')
logFile = os.path.join(tempfile.gettempdir(), 'udsclient.log')
try:
logging.basicConfig(