From f36c8660ab28ac72225ec5bd29e3f3c4c7918805 Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Mon, 13 Oct 2014 20:24:19 +0100 Subject: [PATCH] Changed a variable name --- openlp/core/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openlp/core/__init__.py b/openlp/core/__init__.py index 9646ae77e..eae3d0ab9 100644 --- a/openlp/core/__init__.py +++ b/openlp/core/__init__.py @@ -195,16 +195,16 @@ class OpenLP(OpenLPMixin, QtGui.QApplication): self.set_normal_cursor() self.exception_form.exec_() - def backup_on_upgrade(self, old_install): + def backup_on_upgrade(self, has_run_wizard): """ Check if OpenLP has been upgraded, and ask if a backup of data should be made - :param old_install: OpenLP has been run before + :param has_run_wizard: OpenLP has been run before """ data_version = Settings().value('core/data version') openlp_version = get_application_version()['version'] # New installation, no need to create backup - if not old_install: + if not has_run_wizard: Settings().setValue('core/data version', openlp_version) # If data_version is different from the current version ask if we should backup the data folder elif data_version != openlp_version: