Skip to content

Commit

Permalink
Events should be donation rather than free.
Browse files Browse the repository at this point in the history
  • Loading branch information
qwandor committed Jan 6, 2025
1 parent afd28c5 commit 6506a4a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/importers/icalendar/spreefolk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,11 @@ impl IcalendarSource for Spreefolk {
.next()
.unwrap()
.to_owned();
if details.contains("Der Eintritt ist frei") && event.price.is_none() {
event.price = Some("free".to_string());
if details
.contains("Der Eintritt ist frei – Spenden für Tanz und Musik sind aber willkommen")
&& event.price.is_none()
{
event.price = Some("donation".to_string());
}
}

Expand Down

0 comments on commit 6506a4a

Please sign in to comment.