dropbox_share: Remove unused count variable.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
0c92097bd7
commit
176e5de694
1 changed files with 0 additions and 2 deletions
|
@ -210,10 +210,8 @@ def dbx_search(client: Any, query: str, folder: str, max_results: str) -> str:
|
|||
try:
|
||||
result = client.files_search(folder, query, max_results=int(max_results))
|
||||
msg_list = []
|
||||
count = 0
|
||||
for entry in result.matches:
|
||||
file_info = entry.metadata
|
||||
count += 1
|
||||
msg_list += [" - " + URL.format(name=file_info.name, path=file_info.path_lower)]
|
||||
msg = "\n".join(msg_list)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue