lunarflu HF staff commited on
Commit
e939e33
·
verified ·
1 Parent(s): 6cdf2af

total_exp = str(total_exp) for startswith

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -294,6 +294,7 @@ async def add_exp(member_id):
294
  global_df.loc[index, 'discord_exp'] = new_xp # do not change column name
295
 
296
  # after
 
297
  if not total_exp.startswith("L") and not total_exp.endswith("L"):
298
  total_exp = f"L" + str(total_exp) + f"L"
299
 
 
294
  global_df.loc[index, 'discord_exp'] = new_xp # do not change column name
295
 
296
  # after
297
+ total_exp = str(total_exp)
298
  if not total_exp.startswith("L") and not total_exp.endswith("L"):
299
  total_exp = f"L" + str(total_exp) + f"L"
300