瀏覽代碼

fix: a typo in sdwebui

lanvent 3 年之前
父節點
當前提交
cb0c86ec1c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/sdwebui/sdwebui.py

+ 1 - 1
plugins/sdwebui/sdwebui.py

@@ -40,7 +40,7 @@ class SDWebUI(Plugin):
 
         if e_context['context'].type != ContextType.IMAGE_CREATE:
             return
-        channel = e_context['context'].channel
+        channel = e_context['channel']
         if ReplyType.IMAGE in channel.NOT_SUPPORT_REPLYTYPE:
             return