Commit 8320c39a authored by Alan Mitchell's avatar Alan Mitchell

Fixed expanduser() bug.

parent 33c72945
......@@ -19,7 +19,7 @@ import pandas as pd
import numpy as np
# Log file for the application
LOG_FILE = str(Path.expanduser('~/mea_data/email_logs/mea_email.log'))
LOG_FILE = str(Path('~/mea_data/email_logs/mea_email.log').expanduser())
# create base logger for the application.
_logger = logging.getLogger('meadata')
......@@ -38,7 +38,7 @@ fh.setFormatter(formatter)
_logger.addHandler(fh)
# variable for the base data directory
data_path = Path.expanduser('~/mea_data/data')
data_path = Path('~/mea_data/data').expanduser()
try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment