Spaces:
Running on CPU Upgrade

lunarflu HF Staff commited on
Commit
6559940
·
1 Parent(s): b55a03f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -290,8 +290,12 @@ async def restore_exp(ctx):
290
  print(f"updating record for {member}")
291
  # if so, update that row...
292
  # update exp, can only be in a positive direction
 
 
293
  worksheet.update_cell(cell.row, cell.col+2, xp)
294
- worksheet.update_cell(cell.row, cell.col+3, level)
 
 
295
 
296
 
297
 
 
290
  print(f"updating record for {member}")
291
  # if so, update that row...
292
  # update exp, can only be in a positive direction
293
+ worksheet.update(f'C{cell.row}:D{cell.row}', [[xp, level]])
294
+ """
295
  worksheet.update_cell(cell.row, cell.col+2, xp)
296
+ worksheet.update_cell(cell.row, cell.col+3, level)
297
+ """
298
+
299
 
300
 
301