fix var name
This commit is contained in:
parent
a73bf46dd2
commit
62449c03b8
|
@ -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 ' +
|
||||||
|
|
Loading…
Reference in New Issue