mirror of
https://github.com/lutris/lutris
synced 2024-09-15 22:09:55 +00:00
Remove yaml check depending on software-center
This commit is contained in:
parent
9d5651b63d
commit
436d40071f
11
bin/lutris
11
bin/lutris
|
@ -39,17 +39,6 @@ if LAUNCH_PATH != "/usr/bin":
|
|||
from lutris.gui import dialogs
|
||||
from lutris.migrations import migrate
|
||||
|
||||
try:
|
||||
import yaml as _yaml # noqa
|
||||
except ImportError:
|
||||
q = dialogs.QuestionDialog({'title': "Dependency not available",
|
||||
'question': "PythonYAML is not installed,\n"
|
||||
"do you want to install it now?"})
|
||||
if q.result == Gtk.ResponseType.YES:
|
||||
os.system('software-center python-yaml')
|
||||
else:
|
||||
sys.exit()
|
||||
|
||||
from lutris import pga, runtime
|
||||
from lutris.config import check_config # , register_handler
|
||||
from lutris.util.log import logger
|
||||
|
|
Loading…
Reference in a new issue