浏览代码

fix typo: IPython->IPYTHON

Jake VanderPlas 9 年之前
父节点
当前提交
570e8e4e7a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      liquid_tags/notebook.py

+ 1 - 1
liquid_tags/notebook.py

@@ -62,7 +62,7 @@ except:
 if not IPYTHON_VERSION >= 1:
     raise ValueError("IPython version 1.0+ required for notebook tag")
 
-if IPython_VERSION > 1:
+if IPYTHON_VERSION > 1:
     warnings.warn("Pelican plugin is not designed to work with IPython "
                   "versions greater than 1.x. CSS styles have changed in "
                   "later releases.")