fix var name

This commit is contained in:
Yann Leboulanger 2012-08-22 11:53:22 +02:00
parent a73bf46dd2
commit 62449c03b8
1 changed files with 1 additions and 1 deletions

View File

@ -1163,7 +1163,7 @@ class Interface:
ft = self.instances['file_transfers'] ft = self.instances['file_transfers']
file_props = None file_props = None
# get the file_props of our session # get the file_props of our session
file_props = FilesProp.getFileProp(obj.conn.name, sid) file_props = FilesProp.getFileProp(obj.conn.name, obj.sid)
ft.set_status(file_props, 'stop') ft.set_status(file_props, 'stop')
file_props.error = -4 # is it the right error code? file_props.error = -4 # is it the right error code?
ft.show_stopped(obj.jid, file_props, 'Peer cancelled ' + ft.show_stopped(obj.jid, file_props, 'Peer cancelled ' +