Skip to content

Commit

Permalink
fix small error in cimexport.py
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Moraga <[email protected]>
  • Loading branch information
martinmoraga committed Oct 25, 2023
1 parent b49972e commit cb6e02b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cimpy/cimexport.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def _sort_classes_to_profile(class_attributes_list, activeProfileList):
if 'class' in possibleProfileList[klass['name']].keys():
possibleProfileList[klass['name']]['class'].sort()
for klass_profile in possibleProfileList[klass['name']]['class']:
if Profile(klass_profile).name in activeProfileList:
if Profile(klass_profile) in activeProfileList:
# active profile for class export found
class_serializationProfile = Profile(klass_profile).name
break
Expand Down

0 comments on commit cb6e02b

Please sign in to comment.