lunarflu HF staff commited on
Commit
aa4c08c
1 Parent(s): 401088a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -277,6 +277,7 @@ async def add_exp(member_id):
277
  # tldr; set_as_dataframe forces scientific notation which corrupts discord_user_id data.
278
  # set_as_dataframe is still highly efficient (1 API call), so we format numerical data as strings,
279
  # which results in efficient google sheet updating + data integrity
 
280
  if cell_value.startswith("L") and cell_value.endswith("L"):
281
  # print("test3")
282
  cell_value_clipped = cell_value[1:-1]
 
277
  # tldr; set_as_dataframe forces scientific notation which corrupts discord_user_id data.
278
  # set_as_dataframe is still highly efficient (1 API call), so we format numerical data as strings,
279
  # which results in efficient google sheet updating + data integrity
280
+ cell_value = str(cell_value)
281
  if cell_value.startswith("L") and cell_value.endswith("L"):
282
  # print("test3")
283
  cell_value_clipped = cell_value[1:-1]