|
|
@@ -66,7 +66,7 @@ class Chatbot():
|
|
|
blob_path = blob_dir + file_name
|
|
|
text = json.dumps(chat, ensure_ascii=False)
|
|
|
|
|
|
- path_bucket = os.path.join(self.media_storage.location, '/', blob_path)
|
|
|
+ path_bucket = os.path.join(self.media_storage.location, self.storage_path, '/', blob_path)
|
|
|
self.media_storage.save(path_bucket, BytesIO(text.encode("utf-8")))
|
|
|
|
|
|
docs.append({
|