Skip to content

Commit

Permalink
Update mdb.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shahsad-kp authored May 7, 2021
1 parent 2db8629 commit 3cfda87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/mdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ async def searchquery(group_id, name):

query = mycol.find( {"file_name": regex} )
for file in query:
filename = file['file_name']
filename = "[" + str(file['file_size']//1048576) + "MB] " + file['file_name']
filenames.append(filename)
filelink = file['link']
filelinks.append(filelink)
Expand Down

0 comments on commit 3cfda87

Please sign in to comment.