fix: Remove explicit exception

Co-authored-by: gavin <gavin18d@gmail.com>
This commit is contained in:
Faris Ansari 2020-07-10 16:13:21 +05:30 committed by GitHub
parent 0a06580e2c
commit 70aa3c0b1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ def check_setup_wizard_not_completed():
if frappe.db.get_default('desktop:home_page') != 'setup-wizard':
message = """ERPNext can only be installed on a fresh site where the setup wizard is not completed.
You can reinstall this site (after saving your data) using: bench --site [sitename] reinstall"""
frappe.throw(message, exc=frappe.IncompatibleApp)
frappe.throw(message)
def set_single_defaults():