mirror of
https://github.com/lutris/lutris
synced 2024-09-05 15:33:40 +00:00
Fix execute command required params (Fixes: #878)
This commit is contained in:
parent
48f2196491
commit
6c52fd418a
|
@ -85,7 +85,7 @@ class CommandsMixin:
|
|||
working_dir = None
|
||||
env = {}
|
||||
if isinstance(data, dict):
|
||||
self._check_required_params(('file', 'command'), data, 'execute')
|
||||
self._check_required_params([('file', 'command')], data, 'execute')
|
||||
if 'command' in data and 'file' in data:
|
||||
raise ScriptingError(
|
||||
'Parameters file and command can\'t be used '
|
||||
|
|
Loading…
Reference in a new issue