fix
This commit is contained in:
parent
b1b50fca18
commit
ce8489af1a
@ -336,7 +336,7 @@ def download(config: Config, filename):
|
|||||||
for msg in fileMessages:
|
for msg in fileMessages:
|
||||||
fileInfo = parse_message(msg.message)
|
fileInfo = parse_message(msg.message)
|
||||||
if fileInfo and (
|
if fileInfo and (
|
||||||
fileInfo['name'].startswith(filename.strip()) or
|
fileInfo['name'] == filename.strip() or
|
||||||
fileInfo['name_hash'].startswith(filename.strip())
|
fileInfo['name_hash'].startswith(filename.strip())
|
||||||
):
|
):
|
||||||
download_file(config.client, destination, fileInfo, config.dialog)
|
download_file(config.client, destination, fileInfo, config.dialog)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user