From 17f47033373727473d8c0c457cb7dc05a224d291 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Tue, 19 Apr 2016 17:28:26 +0200 Subject: [PATCH] Fix self parameter It must have access to self to get the values to store in the file. Contributes to issue CURA-844. --- plugins/VersionUpgrade/VersionUpgrade21to22/Profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/VersionUpgrade/VersionUpgrade21to22/Profile.py b/plugins/VersionUpgrade/VersionUpgrade21to22/Profile.py index d9e00bf85d..fe0a48f6d0 100644 --- a/plugins/VersionUpgrade/VersionUpgrade21to22/Profile.py +++ b/plugins/VersionUpgrade/VersionUpgrade21to22/Profile.py @@ -72,7 +72,7 @@ class Profile: # # \return A serialised form of this profile, serialised in version 2 of # the file format. - def exportVersion2(): + def exportVersion2(self): config = configparser.ConfigParser(interpolation = None) config.add_section("general")