Skip to content

Commit

Permalink
better for python 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Jul 18, 2018
1 parent a518273 commit 096ea5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbrmd/contentsmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def _reads(s, as_version, **kwargs):


def check_formats(formats):
if isinstance(formats, str):
if not isinstance(formats, list):
formats = formats.split(',')

formats = [fmt if fmt.startswith('.') else '.' + fmt
Expand Down

0 comments on commit 096ea5e

Please sign in to comment.