Parcourir la source

Merge pull request #584 from jakevdp/notebook-warning

fix typo: IPython->IPYTHON
Justin Mayer il y a 9 ans
Parent
commit
0f4523e361
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      liquid_tags/notebook.py

+ 1 - 1
liquid_tags/notebook.py

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