From 62449c03b8c7f6cc98693e02f9d8d1693343c333 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Wed, 22 Aug 2012 11:53:22 +0200
Subject: [PATCH] fix var name

---
 src/gui_interface.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gui_interface.py b/src/gui_interface.py
index 5ef69587cf..fa056d9ee9 100644
--- a/src/gui_interface.py
+++ b/src/gui_interface.py
@@ -1163,7 +1163,7 @@ class Interface:
         ft = self.instances['file_transfers']
         file_props = None
         # 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')
         file_props.error = -4 # is it the right error code?
         ft.show_stopped(obj.jid, file_props, 'Peer cancelled ' +
-- 
GitLab