From 97d3a8319a300ad0d9f9bb83172d9789e45a9232 Mon Sep 17 00:00:00 2001 From: Anna Wiggins Date: Thu, 21 Jan 2016 13:01:54 -0500 Subject: [PATCH] Fix breakage from last commit. --- utils.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/utils.py b/utils.py index 1e232e3..c3e6c62 100644 --- a/utils.py +++ b/utils.py @@ -1,13 +1,15 @@ from ConfigParser import ConfigParser -from config import config import os +def get_config_dir(): + return os.path.join(path.expanduser('~'), '.ed_tools/') + def get_settings(): """ Try to read the settings from file into ConfigParser object. If the config file isn't found, initialize it. """ - filename = os.path.join(config.app_dir, 'settings.conf') + filename = os.path.join(get_config_dir(), 'settings.conf') settings = ConfigParser() if os.path.isfile(filename):