Fix getting cura application instance

This commit is contained in:
ChrisTerBeke 2018-10-01 15:37:28 +02:00
parent feaa10094e
commit acb7df710c

View File

@ -36,7 +36,7 @@ class Backup:
## Create a back-up from the current user config folder.
def makeFromCurrent(self) -> None:
cura_release = CuraApplication.getInstance().getVersion()
cura_release = self._application.getVersion()
version_data_dir = Resources.getDataStoragePath()
Logger.log("d", "Creating backup for Cura %s, using folder %s", cura_release, version_data_dir)