Skip to content

Commit 176e5de

Browse files
committed
dropbox_share: Remove unused count variable.
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 0c92097 commit 176e5de

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

zulip_bots/zulip_bots/bots/dropbox_share/dropbox_share.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,8 @@ def dbx_search(client: Any, query: str, folder: str, max_results: str) -> str:
210210
try:
211211
result = client.files_search(folder, query, max_results=int(max_results))
212212
msg_list = []
213-
count = 0
214213
for entry in result.matches:
215214
file_info = entry.metadata
216-
count += 1
217215
msg_list += [" - " + URL.format(name=file_info.name, path=file_info.path_lower)]
218216
msg = "\n".join(msg_list)
219217

0 commit comments

Comments
 (0)