forked from ScoDoc/ScoDoc
Update opolka/ScoDoc from ScoDoc/ScoDoc #2
@ -186,7 +186,10 @@ def scodoc7func(func):
|
||||
arg_names = argspec.args
|
||||
for arg_name in arg_names: # pour chaque arg de la fonction vue
|
||||
# peut produire une KeyError s'il manque un argument attendu:
|
||||
v = req_args[arg_name]
|
||||
try:
|
||||
v = req_args[arg_name]
|
||||
except KeyError as exc:
|
||||
raise ScoValueError(f"argument {arg_name} manquant") from exc
|
||||
# try to convert all arguments to INTEGERS
|
||||
# necessary for db ids and boolean values
|
||||
try:
|
||||
|
@ -15,4 +15,11 @@
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
<p style="margin-top: 32px;" class="help">
|
||||
Si le problème persiste, merci de contacter le support ScoDoc via
|
||||
<a class="stdlink" noreferer href="{{scu.SCO_DISCORD_ASSISTANCE|safe}}">
|
||||
{{scu.SCO_DISCORD_ASSISTANCE}}
|
||||
</a>
|
||||
</p>
|
||||
|
||||
{% endblock %}
|
Loading…
Reference in New Issue
Block a user