Fix call to VersionUpgrade21to22.machinesWithMachineQuality

It needs that stupidly long path if we're using imports inside a plug-in.

Contributes to issue CURA-844.
This commit is contained in:
Ghostkeeper 2016-08-09 13:40:22 +02:00
parent 1428f67798
commit 9a555fcab0
No known key found for this signature in database
GPG key ID: 701948C5954A7385
3 changed files with 5 additions and 3 deletions

View file

@ -92,7 +92,7 @@ class VersionUpgrade21to22(VersionUpgrade):
#
# \return A set of machine identifiers.
@staticmethod
def machinesWithMachineQuality(self):
def machinesWithMachineQuality():
return _machines_with_machine_quality
## Converts machine instances from format version 1 to version 2.