fix missing local variable

This commit is contained in:
iLLiCiTiT 2020-12-04 18:25:27 +01:00
parent 5b57ecb1e3
commit e215e8c4bc

View file

@ -245,11 +245,11 @@ class ApplicationTool:
class ApplicationExecutable:
def __init__(self, executable):
default_launch_args = []
executable_path = None
if isinstance(executable, str):
executable_path = executable
elif isinstance(executable, list):
executable_path = None
for arg in executable:
if arg:
if executable_path is None: