summaryrefslogtreecommitdiff
path: root/yaksh/file_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/file_utils.py')
-rw-r--r--yaksh/file_utils.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/yaksh/file_utils.py b/yaksh/file_utils.py
index af0ee1e..8a94260 100644
--- a/yaksh/file_utils.py
+++ b/yaksh/file_utils.py
@@ -70,13 +70,12 @@ def is_csv(document):
def write_static_files_to_zip(zipfile, course_name, current_dir):
- relative_folders = ["css", "js", "images"]
static_files = {"js": ["bootstrap.js", "bootstrap.min.js",
"jquery-1.9.1.min.js", "video.js"],
"css": ["bootstrap.css", "bootstrap.min.css",
- "video-js.css"],
+ "video-js.css", "offline.css"],
"images": ["yaksh_banner.png"]}
- for folder in relative_folders:
+ for folder in static_files.keys():
folder_path = os.sep.join((current_dir, "static", "yaksh", folder))
for file in static_files[folder]:
file_path = os.sep.join((folder_path, file))