Skip to content

Commit

Permalink
fix small error in cimexport.py
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmoraga authored Oct 19, 2023
1 parent b49972e commit dd08cb5
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 dd08cb5

Please sign in to comment.