fix log path
This commit is contained in:
parent
8acf3cc3fc
commit
71304fec9e
@ -334,9 +334,9 @@ encoder_logger.setLevel(log.ff_level)
|
|||||||
|
|
||||||
if log.to_file and log.path != 'none':
|
if log.to_file and log.path != 'none':
|
||||||
if log.path.is_dir():
|
if log.path.is_dir():
|
||||||
playout_log = log.path('ffplayout.log')
|
playout_log = log.path.joinpath('ffplayout.log')
|
||||||
decoder_log = log.path('decoder.log')
|
decoder_log = log.path.joinpath('decoder.log')
|
||||||
encoder_log = log.path('encoder.log')
|
encoder_log = log.path.joinpath('encoder.log')
|
||||||
else:
|
else:
|
||||||
log_dir = Path(__file__).parent.absolute().joinpath('log')
|
log_dir = Path(__file__).parent.absolute().joinpath('log')
|
||||||
log_dir.mkdir(exist_ok=True)
|
log_dir.mkdir(exist_ok=True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user