فهرست منبع

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: