Skip to content

Commit

Permalink
Remove dupes
Browse files Browse the repository at this point in the history
  • Loading branch information
powe97 committed Aug 7, 2024
1 parent 3252a65 commit 5bfbdbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PhotoScraper/RPI_SIS_PhotoScraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -609,8 +609,8 @@ def loopOverCourses(driver, term):
break
else:
print("Invalid answer! Try again!")
class_list = [student for course in courses for student in course]
saveImagesToFolder(class_list)
class_list = set([student for course in courses for student in course])
saveImagesToFolder(list(class_list))


# Assumes SIS main page is open
Expand Down

0 comments on commit 5bfbdbd

Please sign in to comment.