Fixed autorun check from api

This commit is contained in:
Adolfo Gómez García 2022-01-27 12:17:00 +01:00
parent 3ebc0dd26f
commit 2b4e771709

View File

@ -369,6 +369,7 @@ def getServicesData(
autorun = False
if (
hasattr(request, 'session') and
len(services) == 1
and GlobalConfig.AUTORUN_SERVICE.getBool(False)
and services[0]['transports']