Sfoglia il codice sorgente

fix: a typo in sdwebui

lanvent 3 anni fa
parent
commit
cb0c86ec1c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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