Ver código fonte

fix: a typo in sdwebui

lanvent 3 anos atrás
pai
commit
cb0c86ec1c
1 arquivos alterados com 1 adições e 1 exclusões
  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