Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
marcantondahmen committed Jun 18, 2020
1 parent 618684d commit b429073
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions revitron/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ def _(element):
Returns:
mixed: A Revitron element instance
"""
category = Parameter(element, 'Category').getValueString()
category = Element(element).getParameter('Category').getValueString()

switcher = {
'RVT Links': LinkRvt(element)
}
Expand Down

0 comments on commit b429073

Please sign in to comment.