Skip to content

Commit

Permalink
Merge pull request biolab#1864 from nikicc/safer-check-for-sparse
Browse files Browse the repository at this point in the history
[FIX] OWSave: Safer Check if Writer Support Sparse
(cherry picked from commit 7acb5fc)
  • Loading branch information
ajdapretnar authored and astaric committed Jan 6, 2017
1 parent 822584a commit 3d1f8b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Orange/widgets/data/owsave.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class OWSave(widget.OWWidget):

writers = FileFormat.writers
sparse_writers = {ext: w for ext, w in FileFormat.writers.items()
if w.SUPPORT_SPARSE_DATA}
if getattr(w, 'SUPPORT_SPARSE_DATA', False)}

def __init__(self):
super().__init__()
Expand Down

0 comments on commit 3d1f8b6

Please sign in to comment.