Fix the config filename when saving

This commit is contained in:
Chris Jones 2010-03-31 09:25:45 +01:00
parent 4b6a60b7ec
commit 15c0138dc3

View File

@ -587,7 +587,7 @@ class ConfigBase(Borg):
if not os.path.isdir(config_dir):
os.makedirs(config_dir)
try:
parser.write(open(os.path.join(config_dir, 'epic-config'), 'w'))
parser.write(open(os.path.join(config_dir, 'config'), 'w'))
except Exception, ex:
err('ConfigBase::save: Unable to save config: %s' % ex)