chore: remove out-of-date FIXME

This commit is contained in:
张泊明518370910136 2025-03-22 05:39:49 -04:00
parent b2b4c68ddb
commit 643ce96ac5
GPG Key ID: CA088E6D9284F870

View File

@ -57,9 +57,7 @@ def generate_scoreboard(
else: else:
columns = [ columns = [
"", "",
"last_edit", # FIXME: "last_edit",
# This is just to make changes in the file so that it can be pushed.
# Only used in development stage. Will be removed in the future.
"total", "total",
] ]
data = [] data = []
@ -71,9 +69,8 @@ def generate_scoreboard(
submitter_found = True submitter_found = True
break break
if not submitter_found: if not submitter_found:
submitter_row = [submitter, "", "0"] + [""] * ( fixed_columns = [submitter, "", "0"]
len(columns) - 3 submitter_row = fixed_columns + [""] * (len(columns) - len(fixed_columns))
) # FIXME: In formal version should be -2
data.append(submitter_row) data.append(submitter_row)
# Update data # Update data
@ -113,7 +110,6 @@ def generate_scoreboard(
submitter_row[columns.index("total")] = str(total) submitter_row[columns.index("total")] = str(total)
now = datetime.now().strftime("%Y-%m-%d %H:%M:%S") now = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
# FIXME: Delete this in formal version
submitter_row[columns.index("last_edit")] = now submitter_row[columns.index("last_edit")] = now
# Sort data by total, from low to high # Sort data by total, from low to high