Skip to content

Commit

Permalink
Merge pull request #725 from googlefonts/emmamarichal-patch-1
Browse files Browse the repository at this point in the history
Update add_designer.py
  • Loading branch information
m4rc1e authored Oct 23, 2023
2 parents dc2bf71 + 59f6a17 commit 46d81db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/gftools/scripts/add_designer.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def main(args=None):
raise ValueError("The pandas library is required to read Excel spreadsheets")

df = pd.read_excel(args.spreadsheet)
entry = df.loc[df["Name"] == args.name]
entry = df.loc[df["Designer Name"] == args.name]
if len(entry) == 0:
raise ValueError(f"Spreadsheet doesn't contain name '{args.name}'")
bio = entry["Bio"].item()
Expand Down

0 comments on commit 46d81db

Please sign in to comment.