mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-21 20:13:05 +00:00
[17] Fixes #1367 Error when trying to symlink the logs folder
This commit is contained in:
parent
d0b6b3abc3
commit
fe0a709388
2 changed files with 3 additions and 2 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
2.0.1-develop16
|
||||
2.0.1-develop17
|
||||
|
|
|
@ -51,7 +51,8 @@ class MyLogger:
|
|||
self.secrets = []
|
||||
self.spacing = 0
|
||||
self.playlists_log = os.path.join(self.playlists_dir, PLAYLISTS_LOG)
|
||||
os.makedirs(self.log_dir, exist_ok=True)
|
||||
if not os.path.exists(self.log_dir):
|
||||
os.makedirs(self.log_dir, exist_ok=True)
|
||||
self._logger = logging.getLogger(None if self.log_requests else self.logger_name)
|
||||
self._logger.setLevel(logging.DEBUG)
|
||||
|
||||
|
|
Loading…
Reference in a new issue