Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
PladsElsker committed Jan 9, 2024
1 parent 2a07a1e commit f42f650
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib_comfyui/custom_extension_injector.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ def add_server__init__patch(callback):
import server
original_init = server.PromptServer.__init__

def patched_PromptQueue__init__(*args, **kwargs):
def patched_PromptServer__init__(*args, **kwargs):
callback(*args, **kwargs)
original_init(*args, **kwargs)

server.PromptServer.__init__ = patched_PromptQueue__init__
server.PromptServer.__init__ = patched_PromptServer__init__

0 comments on commit f42f650

Please sign in to comment.