Skip to content

Commit

Permalink
Merge pull request #97 from hummingbot/update_st_rerun
Browse files Browse the repository at this point in the history
Fix / update to st.rerun
  • Loading branch information
cardosofede authored Nov 7, 2023
2 parents 3dd8b9f + 6952899 commit 18849e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/bot_orchestration/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def update_containers_info(docker_manager):
st.error(f"RPCClientTimeoutError: Could not connect to {bot}. Please review the connection.")
del st.session_state.active_bots[bot]
except RuntimeError:
st.experimental_rerun()
st.rerun()
st.session_state.active_bots = dict(
sorted(st.session_state.active_bots.items(), key=lambda x: x[1]['is_running'], reverse=True))
else:
Expand Down

0 comments on commit 18849e5

Please sign in to comment.