Commit
·
489a24b
1
Parent(s):
a4a6839
Update app.py
Browse files
app.py
CHANGED
@@ -103,7 +103,7 @@ def get_rating_over_time_fig(df: pd.DataFrame, is_tournament: bool):
|
|
103 |
|
104 |
def get_max_int(int_csv_str: str) -> int:
|
105 |
"""Get the max int from an int CSV."""
|
106 |
-
ints = [int(i.strip()) for i in int_csv_str.split(',')]
|
107 |
return max(ints)
|
108 |
|
109 |
|
|
|
103 |
|
104 |
def get_max_int(int_csv_str: str) -> int:
|
105 |
"""Get the max int from an int CSV."""
|
106 |
+
ints = [int(i.strip()) for i in int_csv_str.split(',') if i]
|
107 |
return max(ints)
|
108 |
|
109 |
|