From 16acf1d4f5ffda6d214a2cd59abff2832be9f4ec Mon Sep 17 00:00:00 2001
From: Nikos Kouremenos <kourem@gmail.com>
Date: Fri, 2 Sep 2005 21:29:01 +0000
Subject: [PATCH] [stephan k.] fix #798

---
 src/filetransfers_window.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/filetransfers_window.py b/src/filetransfers_window.py
index f9286114a1..770f6566f0 100644
--- a/src/filetransfers_window.py
+++ b/src/filetransfers_window.py
@@ -242,6 +242,7 @@ _('Connection with peer cannot be established.'))
 			files_path_list = dialog.get_filenames()
 			file_dir = None
 			dialog.destroy()
+			file_dir = None
 			for file_path in files_path_list:
 				file_path = file_path.decode(sys.getfilesystemencoding())
 				if os.path.isfile(file_path):
-- 
GitLab