fix: fixed the pickle error on installing community

This commit is contained in:
Anand Chitipothu
2021-05-05 15:48:43 +05:30
parent da771d7830
commit c2be23a902
2 changed files with 4 additions and 2 deletions

View File

@@ -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>
# ------------------ # ------------------

View File

@@ -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()