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 10, 2017
1 parent 7638fb2 commit fbe634c
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 fbe634c

Please sign in to comment.