Skip to content

Commit

Permalink
Merge a9eee1a into 38a923c
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardt committed Dec 10, 2019
2 parents 38a923c + a9eee1a commit c13e6d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion magma/circuit.py
Expand Up @@ -74,7 +74,8 @@ def peek(cls):

def _setattrs(obj, dct):
for k, v in dct.items():
setattr(obj, k, v)
if isinstance(k, str):
setattr(obj, k, v)


class CircuitKind(type):
Expand Down

0 comments on commit c13e6d5

Please sign in to comment.