Skip to content

Commit db0d7d2

Browse files
authored
Merge pull request #23 from timothyhull:timothyhull/issue22
Convert log file path to dynamic absolute object
2 parents 4d6a77c + 4de1732 commit db0d7d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

namedtuple_maker/namedtuple_logger.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
from namedtuple_maker.namedtuple_utils import graceful_exit
4040

4141
# Constants
42-
LOG_FILE_PATH = path.curdir
42+
LOG_FILE_PATH = path.dirname(__file__)
4343
LOG_FILE_NAME = 'namedtuple-log.log'
4444
LOG_FILE = path.join(LOG_FILE_PATH, LOG_FILE_NAME)
4545
LOG_LEVEL_DEFAULT = 'CRITICAL'

0 commit comments

Comments
 (0)