Fixed wrong country code for A(U)T.
This commit is contained in:
@@ -39,7 +39,7 @@ class ChoiceSet(object):
|
||||
|
||||
|
||||
class CountryChoiceSet(Countries):
|
||||
first = ['DE', 'AUT', 'CH', 'FR', 'IT']
|
||||
first = ['DE', 'AT', 'CH', 'FR', 'IT']
|
||||
first_repeat = True
|
||||
first_break = '--'
|
||||
|
||||
|
||||
@@ -727,15 +727,15 @@ class ChargesForm(EventCreateForm):
|
||||
charge_key = 'C'
|
||||
elif terrain != 'alpine':
|
||||
charge_key = 'D'
|
||||
elif mode == 'training' and country in ('DE', 'AUT'):
|
||||
elif mode == 'training' and country in ('DE', 'AT'):
|
||||
charge_key = 'G'
|
||||
elif mode == 'training':
|
||||
charge_key = 'H'
|
||||
elif sport == 'K' and country in ('DE', 'AUT'):
|
||||
elif sport == 'K' and country in ('DE', 'AT'):
|
||||
charge_key = 'E'
|
||||
elif sport == 'K':
|
||||
charge_key = 'F'
|
||||
elif country in ('DE', 'AUT'):
|
||||
elif country in ('DE', 'AT'):
|
||||
charge_key = 'I'
|
||||
else:
|
||||
charge_key = 'J'
|
||||
|
||||
Reference in New Issue
Block a user