Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions py/visdom/server/handlers/web_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,9 @@ def update(p, args, max_text_lines, max_old_content, max_image_history):
def wrap_func(handler, args):
eid = extract_eid(args)

if eid not in handler.state:
handler.state[eid] = {"jsons": {}, "reload": {}}
Comment thread
tonypzy marked this conversation as resolved.
Comment thread
tonypzy marked this conversation as resolved.

if args["win"] not in handler.state[eid]["jsons"]:
# Append to a window that doesn't exist attempts to create
# that window
Expand Down
Loading