mirror of
https://github.com/lutris/lutris
synced 2024-09-15 22:09:55 +00:00
Run expanduser on user selected files
This commit is contained in:
parent
3b5bf2fe47
commit
69c1bfb77d
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue