Skip to content

Commit

Permalink
Append fix
Browse files Browse the repository at this point in the history
Summary:
Fixes #233 by checking for the existence of new_data that is unnamed, which makes append work for unnamed traces again. It also fixes inserting a new unnamed trace.
Closes #234

Differential Revision: D6638379

Pulled By: JackUrb

fbshipit-source-id: 548e3e6d17d54d21c62193d90c7a48cb9c6f0988
  • Loading branch information
JackUrb authored and facebook-github-bot committed Dec 27, 2017
1 parent 41bb0f6 commit f5a4d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ def update(p, args):
return UpdateHandler.update_updateTrace(p, args)
p = update_window(p, args)
name = args.get('name')
if name is None:
if name is None and new_data is None:
return p # we only updated the opts or layout
append = args.get('append')

Expand Down

0 comments on commit f5a4d68

Please sign in to comment.