lunarflu HF staff commited on
Commit
f5ef5de
·
verified ·
1 Parent(s): b2e7d54

str(member_id)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -235,7 +235,7 @@ async def add_exp(member_id):
235
  # cell_value_clipped = 1234567890
236
  print(f"cell_value_clipped: {cell_value_clipped}, type: {type(cell_value_clipped)}")
237
  print(f"member_id: {member_id}, type: {type(member_id)}")
238
- if cell_value_clipped == member_id: # is this needed?
239
  print("test4")
240
  # if found, update that row...
241
  member_found = True
 
235
  # cell_value_clipped = 1234567890
236
  print(f"cell_value_clipped: {cell_value_clipped}, type: {type(cell_value_clipped)}")
237
  print(f"member_id: {member_id}, type: {type(member_id)}")
238
+ if cell_value_clipped == str(member_id): # str(member_id) needed, it is int by default
239
  print("test4")
240
  # if found, update that row...
241
  member_found = True