lunarflu HF staff commited on
Commit
e172551
1 Parent(s): 27160c5

community_global_df['discord_user_id'] = community_global_df['discord_user_id'].str.strip('L').astype(str)

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -407,6 +407,9 @@ async def remove_huggingfolks():
407
  role = discord.utils.get(guild.roles, id=897376942817419265)
408
  members_with_role = [member.id for member in guild.members if role in member.roles]
409
 
 
 
 
410
  for member_id in members_with_role:
411
  community_global_df = community_global_df[community_global_df.iloc[:, 0] != str(member_id)]
412
 
 
407
  role = discord.utils.get(guild.roles, id=897376942817419265)
408
  members_with_role = [member.id for member in guild.members if role in member.roles]
409
 
410
+ # remove L formatting (doesn't affect main global_df)
411
+ community_global_df['discord_user_id'] = community_global_df['discord_user_id'].str.strip('L').astype(str)
412
+
413
  for member_id in members_with_role:
414
  community_global_df = community_global_df[community_global_df.iloc[:, 0] != str(member_id)]
415