fix: fixed the pickle error on installing community
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
from . import __version__ as app_version
|
from . import __version__ as app_version
|
||||||
import os
|
from .install import APP_LOGO_URL
|
||||||
|
|
||||||
app_name = "community"
|
app_name = "community"
|
||||||
app_title = "Community"
|
app_title = "Community"
|
||||||
@@ -12,7 +12,7 @@ app_color = "grey"
|
|||||||
app_email = "jannat@erpnext.com"
|
app_email = "jannat@erpnext.com"
|
||||||
app_license = "AGPL"
|
app_license = "AGPL"
|
||||||
|
|
||||||
app_logo_url = os.getenv("APP_LOGO_URL") or "/files/logo.png"
|
app_logo_url = APP_LOGO_URL
|
||||||
|
|
||||||
# Includes in <head>
|
# Includes in <head>
|
||||||
# ------------------
|
# ------------------
|
||||||
|
|||||||
@@ -3,6 +3,8 @@
|
|||||||
import os
|
import os
|
||||||
import frappe
|
import frappe
|
||||||
|
|
||||||
|
APP_LOGO_URL = os.getenv("APP_LOGO_URL") or "/files/logo.png"
|
||||||
|
|
||||||
def after_install():
|
def after_install():
|
||||||
set_app_name()
|
set_app_name()
|
||||||
disable_signup()
|
disable_signup()
|
||||||
|
|||||||
Reference in New Issue
Block a user