diff --git a/cms/templates/import.html b/cms/templates/import.html
index 98951c135c..5d20980c58 100644
--- a/cms/templates/import.html
+++ b/cms/templates/import.html
@@ -1,9 +1,9 @@
<%page expression_filter="h"/>
<%inherit file="base.html" />
<%def name="online_help_token()">
-<%
+<%
if library:
- return "import_library"
+ return "import_library"
else:
return "import_course"
%>
@@ -214,7 +214,7 @@ else:
%endif