Skip to content

Commit

Permalink
Count search results in telegraph
Browse files Browse the repository at this point in the history
  • Loading branch information
breakdowns authored Mar 10, 2021
1 parent 1d80956 commit db7e8b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/helper/mirror_utils/upload_utils/gdriveTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ def drive_list(self, fileName):
orderBy='modifiedTime desc').execute()
content_count = 0
if response["files"]:
msg += f'<h4>Results : {fileName}</h4><br><br>'
msg += f'<h4>{len(response["files"])} Results : {fileName}</h4><br><br>'
for file in response.get('files', []):
if file.get('mimeType') == "application/vnd.google-apps.folder": # Detect Whether Current Entity is a Folder or File.
furl = f"https://drive.google.com/drive/folders/{file.get('id')}"
Expand Down

0 comments on commit db7e8b5

Please sign in to comment.