diff --git a/cps/static/js/reading/epub.js b/cps/static/js/reading/epub.js index bae9f72b..8b7fb075 100644 --- a/cps/static/js/reading/epub.js +++ b/cps/static/js/reading/epub.js @@ -42,5 +42,4 @@ var reader; alert(error); }); } - // reader.book.package.metadata.direction= "rtl"; wait for reader reader before changing reading direction })(); diff --git a/cps/updater.py b/cps/updater.py index 9fe6e828..7af8649c 100644 --- a/cps/updater.py +++ b/cps/updater.py @@ -198,7 +198,7 @@ class Updater(threading.Thread): ) additional_path = self.is_venv() if additional_path: - exclude = exclude + (additional_path) + exclude = exclude + (additional_path,) for root, dirs, files in os.walk(destination, topdown=True): for name in files: old_list.append(os.path.join(root, name).replace(destination, ''))