Skip to content
Snippets Groups Projects
Commit 71707400 authored by Daniel Brötzmann's avatar Daniel Brötzmann
Browse files

fix: FileTransferWindow: Fix variable name

parent dcd84306
No related branches found
No related tags found
No related merge requests found
......@@ -905,8 +905,8 @@ def _on_pause_resume_button_clicked(self, widget):
if is_transfer_paused(file_props):
file_props.last_time = time.time()
file_props.paused = False
types = {'r': 'download', 's': 'upload'}
self.set_status(file_props, types[sid[0]])
status_types = {'r': 'download', 's': 'upload'}
self.set_status(file_props, status_types[sid[0]])
self._toggle_pause_continue(True)
if file_props.continue_cb:
file_props.continue_cb()
......
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