Explorar o código

fix: a typo in sdwebui

lanvent %!s(int64=3) %!d(string=hai) anos
pai
achega
cb0c86ec1c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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