Skip to content

Commit

Permalink
use attr
Browse files Browse the repository at this point in the history
  • Loading branch information
bqpd committed Sep 4, 2019
1 parent c6770ec commit d780c3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpkit/_mosek/expopt.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __getattr__(self, attribute):
-------
attribute from self.module
"""
return self.module[self.stub + attribute]
return getattr(self.module, self.stub + attribute)


# below is MSKsolsta_enum from mosek.h
Expand Down

0 comments on commit d780c3e

Please sign in to comment.