diff --git a/nbrmd/contentsmanager.py b/nbrmd/contentsmanager.py
index <HASH>..<HASH> 100644
--- a/nbrmd/contentsmanager.py
+++ b/nbrmd/contentsmanager.py
@@ -27,7 +27,7 @@ def _nbrmd_reads(ext):
 
 
 def check_formats(formats):
-    if isinstance(formats, str):
+    if not isinstance(formats, list):
         formats = formats.split(',')
 
     formats = [fmt if fmt.startswith('.') else '.' + fmt
better for python <I>