Skip to content

Commit ebca2e4

Browse files
author
Ioannis Kakavas
committed
Fixed bug that caused TypeError
1 parent ad0f240 commit ebca2e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/satosa/micro_services/processors/scope_remover_processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class ScopeRemoverProcessor(BaseProcessor):
99
def process(self, internal_data, attribute, **kwargs):
1010
attributes = internal_data.attributes
1111
new_values = []
12-
values = attributes.get(attribute, [None])
12+
values = attributes.get(attribute, [])
1313
if not values:
1414
raise AttributeProcessorWarning("Attribute {} has no values".format(attribute))
1515
for value in values:

0 commit comments

Comments
 (0)