浏览代码

Chatbot Storage path fix

donzito 2 年之前
父节点
当前提交
1552c7b29d
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      chatbot/main.py

+ 1 - 2
chatbot/main.py

@@ -79,8 +79,7 @@ class Chatbot():
             })
 
         else:
-            # blob_dir = 'docs/'
-            blobs = self.media_storage.list(self.storage_path + '/' + blob_dir)
+            blobs = self.media_storage.list(self.storage_path + '/')
             for blob in blobs:
                 text = blob.download_as_bytes().decode('utf-8')
                 if len(text)>0: