chiark / gitweb /
Fixes #73: When start.gcode is changed changes are not saved
authorLawrence Johnston <Lawrence.B.Johnston@gmail.com>
Tue, 24 Apr 2012 03:02:50 +0000 (20:02 -0700)
committerLawrence Johnston <Lawrence.B.Johnston@gmail.com>
Tue, 24 Apr 2012 03:02:50 +0000 (20:02 -0700)
Cura/util/profile.py

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