Skip to content

Commit

Permalink
Bugfix for module list processing
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarnerides committed Jan 29, 2018
1 parent 57b0b3b commit c5f837c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlt/viz/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def save_image(img, title):
def process_none(x):
if x is None:
x = []
elif not any((isinstance(x, x) for x in [list, tuple])):
elif not any((isinstance(x, y) for y in [list, tuple])):
x = [x]
return x

Expand Down

0 comments on commit c5f837c

Please sign in to comment.