1
0
mirror of https://github.com/lutris/lutris synced 2024-07-08 11:35:50 +00:00

Fix cancel on hatari select bios file

This commit is contained in:
Xodetaetl 2015-08-17 19:37:42 +02:00
parent 2ce8e4f60f
commit e1b0128dd3

View File

@ -119,6 +119,8 @@ class hatari(Runner):
if dlg.result == dlg.YES:
bios_dlg = FileDialog("Select a BIOS file")
bios_filename = bios_dlg.filename
if not bios_filename:
return
shutil.copy(bios_filename, bios_path)
bios_path = os.path.join(bios_path, os.path.basename(bios_filename))
config = LutrisConfig(runner_slug='hatari')