Skip to content

Commit fe4c1b8

Browse files
committed
fix unwanted error print
1 parent c3c42f6 commit fe4c1b8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

koboldcpp.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2408,6 +2408,8 @@ def sd_comfyui_tranform_params(genparams):
24082408

24092409
# json with top-level dict
24102410
def parse_json_object(value, field):
2411+
if not value:
2412+
return None
24112413
broken = False
24122414
if isinstance(value, str):
24132415
retry = False

0 commit comments

Comments
 (0)