Skip to content

Commit

Permalink
Correcting WPFWindow.set_image_source doc string (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrilWaechter authored and eirannejad committed Jan 14, 2019
1 parent 209805b commit 4ee6597
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pyrevitlib/pyrevit/forms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,9 @@ def set_image_source(self, wpf_element, image_file):
"""Set source file for image element.
Args:
element_name (str): xaml image element name
element_name (System.Windows.Controls.Image): xaml image element
image_file (str): image file path
"""
# wpfel = getattr(self, element_name)
if not op.exists(image_file):
wpf_element.Source = \
utils.bitmap_from_file(
Expand Down

0 comments on commit 4ee6597

Please sign in to comment.