summaryrefslogtreecommitdiff
path: root/tbc/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'tbc/views.py')
-rw-r--r--tbc/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tbc/views.py b/tbc/views.py
index 1e5d0cf..696b1e8 100644
--- a/tbc/views.py
+++ b/tbc/views.py
@@ -254,7 +254,7 @@ def ApproveBook(request, book_id=None):
file_path = os.path.abspath(os.path.dirname(__file__))
zip_path = "/".join(file_path.split("/")[1:-2])
zip_path = "/"+zip_path+"/Python-Textbook-Companions/"
- file_path = file_path+"/static/uploads/"
+ file_path = file_path+"/uploads/"
directory = file_path+book.contributor.user.first_name
os.chmod(directory, 0777)
os.chdir(directory)