소스 검색

Merge pull request #65 from jakevdp/notebook_bug

BUG: liquid tags notebook version check
Justin Mayer 11 년 전
부모
커밋
1bda804dc2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      liquid_tags/notebook.py

+ 1 - 1
liquid_tags/notebook.py

@@ -49,7 +49,7 @@ import os
 from .mdx_liquid_tags import LiquidTags
 
 import IPython
-if IPython.__version__.split('.')[0] != 1:
+if IPython.__version__.split('.')[0] != '1':
     raise ValueError("IPython version 1.0+ required for notebook tag")
 
 from IPython import nbconvert