We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a42a977 commit e923554Copy full SHA for e923554
oppia/models/main.py
@@ -735,6 +735,6 @@ def get_lang(self):
735
@receiver(post_save, sender=Course)
736
def uploaded_course_save_to_external(sender, instance, **kwargs):
737
if settings.OPPIA_EXTERNAL_STORAGE:
738
- copy_from = os.path.join(settings.COURSE_ROOT, instance.filename)
+ copy_from = os.path.join(settings.COURSE_UPLOAD_DIR, instance.filename)
739
copy_to = os.path.join(settings.OPPIA_EXTERNAL_STORAGE_COURSE_ROOT, instance.filename)
740
copyfile(copy_from, copy_to)
0 commit comments