Kamonphanpro commited on
Commit
d88bfa0
·
1 Parent(s): 43de31b

fix: show only username

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def list_usernames():
29
  if is_data_exist():
30
  if isinstance(sheets, dict) and "employee_authentication" in sheets:
31
  data = sheets["employee_authentication"]
32
- usernames = data[["ชื่อ-สกุลพนักงาน", 'password']].to_list()
33
  # Display usernames in an HTML table for easy copying
34
  html_content = "<h4>Available Usernames:</h4><ul>"
35
  for username in usernames:
 
29
  if is_data_exist():
30
  if isinstance(sheets, dict) and "employee_authentication" in sheets:
31
  data = sheets["employee_authentication"]
32
+ usernames = data["ชื่อ-สกุลพนักงาน"].unique()
33
  # Display usernames in an HTML table for easy copying
34
  html_content = "<h4>Available Usernames:</h4><ul>"
35
  for username in usernames: