raceback (most recent call last):
File "watcher.py", line 8, in
from log.logger import logger as log
File "/Users/chinkaysin/N95-watcher/log/logger.py", line 8, in
filehandler = logging.FileHandler(os.path.join(os.path.abspath(os.path.dirname(file)), "logs", "log{}.txt".format(time.strftime("%d%m%Y"))))
File "/Users/chinkaysin/.pyenv/versions/3.7.6/lib/python3.7/logging/init.py", line 1087, in init
StreamHandler.init(self, self._open())
File "/Users/chinkaysin/.pyenv/versions/3.7.6/lib/python3.7/logging/init.py", line 1116, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
FileNotFoundError: [Errno 2] No such file or directory: '/Users/chinkaysin/N95-watcher/log/logs/log_0103
raceback (most recent call last): File "watcher.py", line 8, in
from log.logger import logger as log
File "/Users/chinkaysin/N95-watcher/log/logger.py", line 8, in
filehandler = logging.FileHandler(os.path.join(os.path.abspath(os.path.dirname(file)), "logs", "log{}.txt".format(time.strftime("%d%m%Y"))))
File "/Users/chinkaysin/.pyenv/versions/3.7.6/lib/python3.7/logging/init.py", line 1087, in init
StreamHandler.init(self, self._open())
File "/Users/chinkaysin/.pyenv/versions/3.7.6/lib/python3.7/logging/init.py", line 1116, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
FileNotFoundError: [Errno 2] No such file or directory: '/Users/chinkaysin/N95-watcher/log/logs/log_0103