Skip to content

Commit

Permalink
🎨 Modified empty lines
Browse files Browse the repository at this point in the history
Signed-off-by: mathieu.brunot <[email protected]>
  • Loading branch information
madmath03 committed Jan 13, 2020
1 parent f9a9fcf commit ec88067
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erpnext_autoinstall/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import frappe




def after_install():
"""Frappe trigger after application install."""
configure_home_page()
Expand All @@ -13,13 +11,15 @@ def after_install():
# FIXME: Will not "really" work since first run wizard will reset email settings...
# configure_email()


def configure_home_page():
home_page = os.getenv('HOME_PAGE')
if home_page:
web_settings = frappe.get_doc("Website Settings")
web_settings.home_page = home_page
web_settings.save()


def configure_website():
"""Configure Website settings."""
doc = frappe.get_doc("Website Settings")
Expand Down

0 comments on commit ec88067

Please sign in to comment.