Fix typo error introduced in commit: 3b7a5c4dc2

pull/420/head
johannesh 2020-08-07 10:36:40 +02:00
parent b1ec21360c
commit 85d319e85e
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ def handler(q=False):
else:
misperrors['error'] = 'Missing Recorded Future token.'
return misperrors
if not request.get('attribute') or not check_input_attribute(request['atttribute'], requirements=('type', 'value')):
if not request.get('attribute') or not check_input_attribute(request['attribute'], requirements=('type', 'value')):
return {'error': f'{standard_error_message}, {checking_error}.'}
if request['attribute']['type'] not in mispattributes['input']:
return {'error': 'Unsupported attribute type.'}