diff --git a/community/hooks.py b/community/hooks.py index ea17ba2f..bc97e3a2 100644 --- a/community/hooks.py +++ b/community/hooks.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from __future__ import unicode_literals from . import __version__ as app_version -import os +from .install import APP_LOGO_URL app_name = "community" app_title = "Community" @@ -12,7 +12,7 @@ app_color = "grey" app_email = "jannat@erpnext.com" app_license = "AGPL" -app_logo_url = os.getenv("APP_LOGO_URL") or "/files/logo.png" +app_logo_url = APP_LOGO_URL # Includes in # ------------------ diff --git a/community/install.py b/community/install.py index f46a8a39..54fabede 100644 --- a/community/install.py +++ b/community/install.py @@ -3,6 +3,8 @@ import os import frappe +APP_LOGO_URL = os.getenv("APP_LOGO_URL") or "/files/logo.png" + def after_install(): set_app_name() disable_signup()