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