Sfoglia il codice sorgente

fix: linkai plugin config_template

master
6vision 6 mesi fa
parent
commit
48cc143e88
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      plugins/linkai/linkai.py

+ 2
- 0
plugins/linkai/linkai.py Vedi File

@@ -9,6 +9,7 @@ from common.expired_dict import ExpiredDict
from common import const
import os
from .utils import Util
from config import plugin_config


@plugins.register(
@@ -253,6 +254,7 @@ class LinkAI(Plugin):
plugin_conf = json.load(f)
plugin_conf["midjourney"]["enabled"] = False
plugin_conf["summary"]["enabled"] = False
plugin_config["linkai"] = plugin_conf
return plugin_conf
except Exception as e:
logger.exception(e)


Loading…
Annulla
Salva