mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-08-03 02:17:43 +00:00
fix bug (#845)
This commit is contained in:
@@ -689,7 +689,7 @@ with st.sidebar:
|
||||
def get_state_data_range(state_data):
|
||||
# we have a "competition" key in state_data
|
||||
# like dict_keys(['competition', 10, 11, 12, 13, 14])
|
||||
keys = [k for k in state_data.keys() if k != "competition"]
|
||||
keys = [k for k in state_data.keys() if isinstance(k, int)]
|
||||
return min(keys), max(keys)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user