Skip to content
Snippets Groups Projects
Commit 83dfd5e0 authored by zimio's avatar zimio
Browse files

removing old corrupted file before starting file request

parent bfc4dccc
No related branches found
No related tags found
No related merge requests found
......@@ -250,6 +250,8 @@ class FileTransfersWindow:
def show_hash_error(self, jid, file_props, account):
def on_yes(dummy):
# Delete old file
os.remove(file_props.file_name)
# Request the file to the sender
contact = gajim.contacts.get_contact_with_highest_priority(account,
jid)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment