Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
|
@@ -59,7 +59,7 @@ def calculate_xp(level):
|
|
| 59 |
async def add_exp_hub(ctx, discord_user_id):
|
| 60 |
try:
|
| 61 |
cell = worksheet.find(str(discord_user_id))
|
| 62 |
-
if cell.col
|
| 63 |
# find hub_user_name
|
| 64 |
hf_user_name = worksheet.cell(cell.row, cell.col-2).value
|
| 65 |
if hf_user_name:
|
|
|
|
| 59 |
async def add_exp_hub(ctx, discord_user_id):
|
| 60 |
try:
|
| 61 |
cell = worksheet.find(str(discord_user_id))
|
| 62 |
+
if cell.col == 5
|
| 63 |
# find hub_user_name
|
| 64 |
hf_user_name = worksheet.cell(cell.row, cell.col-2).value
|
| 65 |
if hf_user_name:
|