Fix self parameter

It must have access to self to get the values to store in the file.

Contributes to issue CURA-844.
This commit is contained in:
Ghostkeeper 2016-04-19 17:28:26 +02:00 committed by Ghostkeeper
parent 149e873eb6
commit 17f4703337

View file

@ -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")