Fixes #73: When start.gcode is changed changes are not saved

This commit is contained in:
Lawrence Johnston 2012-04-23 20:02:50 -07:00
parent 3645523074
commit f7071d59cf

View file

@ -322,7 +322,7 @@ def setAlterationFile(filename, value):
if not globalProfileParser.has_section('alterations'):
globalProfileParser.add_section('alterations')
globalProfileParser.set('alterations', filename, value.encode("utf-8"))
saveGlobalProfile(profile.getDefaultProfilePath())
saveGlobalProfile(getDefaultProfilePath())
### Get the alteration file for output. (Used by Skeinforge)
def getAlterationFileContents(filename):