Explorar el Código

fix: a typo in sdwebui

lanvent hace 3 años
padre
commit
cb0c86ec1c
Se han modificado 1 ficheros con 1 adiciones y 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