Skip to content

Commit

Permalink
flake
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleyzhang01 committed Mar 7, 2024
1 parent 1409d6f commit d05a60e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion backend/penndata/management/commands/get_rodin_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ def scrape_calendar_page(self, calendar_url):
if not event_link:
continue
name = event_link.text.strip()
url = f"{RODIN_EVENTS_WEBSITE}{event_link["href"]}"
url = event_link["href"]
url = f"{RODIN_EVENTS_WEBSITE}{url}"

location, start_time, end_time, description = self.scrape_details(url)
Event.objects.update_or_create(
Expand Down
2 changes: 1 addition & 1 deletion backend/penndata/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Event(models.Model):
(TYPE_RODIN_COLLEGE_HOUSE, "Rodin College House"),
)

event_type = models.CharField(max_length=63, choices=TYPE_CHOICES,
event_type = models.CharField(max_length=63, choices=TYPE_CHOICES,
default=None, null=True, blank=True)
name = models.CharField(max_length=255)
description = models.TextField(null=True, blank=True)
Expand Down

0 comments on commit d05a60e

Please sign in to comment.