forked from shaba/openuds
fixed log name being bytes instead of string
This commit is contained in:
parent
c35dc90264
commit
a094e1ebee
@ -40,7 +40,7 @@ if sys.platform.startswith('linux'):
|
|||||||
from os.path import expanduser # pylint: disable=ungrouped-imports
|
from os.path import expanduser # pylint: disable=ungrouped-imports
|
||||||
logFile = expanduser('~/udsclient.log')
|
logFile = expanduser('~/udsclient.log')
|
||||||
else:
|
else:
|
||||||
logFile = os.path.join(tempfile.gettempdir(), b'udsclient.log')
|
logFile = os.path.join(tempfile.gettempdir(), 'udsclient.log')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
logging.basicConfig(
|
logging.basicConfig(
|
||||||
|
Loading…
Reference in New Issue
Block a user