Add self to parameters of function

Yeah this was a method, not a static method.

Contributes to issue CURA-844.
This commit is contained in:
Ghostkeeper 2016-04-19 16:31:22 +02:00 committed by Ghostkeeper
parent 816e94c760
commit aeecdd9e0e

View File

@ -57,7 +57,7 @@ class MachineInstance:
# #
# \return A serialised form of this machine instance, serialised in # \return A serialised form of this machine instance, serialised in
# version 2 of the file format. # version 2 of the file format.
def exportVersion2(): def exportVersion2(self):
config = configparser.ConfigParser(interpolation = None) #Build a config file in the form of version 2. config = configparser.ConfigParser(interpolation = None) #Build a config file in the form of version 2.
config.add_section("general") config.add_section("general")