mirror of
https://github.com/pretix/pretix.git
synced 2026-08-10 10:47:00 +00:00
Fix handling country=None in AttendeeProfile describe
This commit is contained in:
@@ -395,7 +395,7 @@ class AttendeeProfile(models.Model):
|
||||
self.company,
|
||||
self.street,
|
||||
(self.zipcode or '') + ' ' + (self.city or '') + ' ' + (self.state_for_address or ''),
|
||||
self.country.name,
|
||||
self.country.name if self.country else None,
|
||||
]
|
||||
for a in self.answers:
|
||||
value = a.get('value')
|
||||
|
||||
Reference in New Issue
Block a user