Merge pull request #74 from lawrencejohnston/master

Fix for #73: When start.gcode is changed changes are not saved
This commit is contained in:
daid 2012-04-24 02:21:40 -07:00
commit da19930965

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):