Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
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 |
|