Run expanduser on user selected files

This commit is contained in:
Mathieu Comandon 2015-08-02 07:50:30 -07:00
parent 3b5bf2fe47
commit 69c1bfb77d

View file

@ -229,6 +229,7 @@ class InstallerDialog(Gtk.Window):
if os.path.isfile(file_path):
self.selected_directory = os.path.dirname(file_path)
else:
logger.warning('%s is not a file', file_path)
return
self.interpreter.file_selected(file_path)