mirror of
https://github.com/pretix/pretix.git
synced 2026-04-30 00:22:40 +00:00
Fix a type error PRETIXEU-1BF
This commit is contained in:
@@ -152,7 +152,7 @@ class Invoice(models.Model):
|
||||
if COUNTRIES_WITH_STATE_IN_ADDRESS[str(self.invoice_to_country)][1] == 'long':
|
||||
state_name = pycountry.subdivisions.get(
|
||||
code='{}-{}'.format(self.invoice_to_country, self.invoice_to_state)
|
||||
)
|
||||
).name
|
||||
|
||||
parts = [
|
||||
self.invoice_to_company,
|
||||
|
||||
Reference in New Issue
Block a user