str not Path
This commit is contained in:
parent
a0f55895d1
commit
e0c281c111
@ -90,7 +90,7 @@ class Game(Options):
|
||||
if not Path('logs/').is_dir():
|
||||
Path('logs/').mkdir()
|
||||
mkdir = True
|
||||
self.logging_config['handlers']['file']['filename'] = str(log_path.absolute())
|
||||
self.logging_config['handlers']['file']['filename'] = log_path
|
||||
logging.config.dictConfig(self.logging_config)
|
||||
self.logger = logging.getLogger('main')
|
||||
if mkdir:
|
||||
|
Loading…
Reference in New Issue
Block a user