Skip to content

Commit

Permalink
fix(enhance_UI): fix bug on callback of agents-network.generateImage
Browse files Browse the repository at this point in the history
  • Loading branch information
bangxiangyong committed Jun 1, 2021
1 parent a6f8da9 commit d9125ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions agentMET4FOF/dashboard/Dashboard_agt_net.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ def export_image(n_clicks):
'type': "png",
'action': "download"
}]
else:
raise PreventUpdate

# Update network graph per interval
@app.callback([dash.dependencies.Output('agents-network', 'elements'),
Expand Down

0 comments on commit d9125ab

Please sign in to comment.