Working on M1 with rosseta, so removed check (that does not recognizes m1 when running app with rosseta)

This commit is contained in:
Adolfo Gómez García 2021-06-19 17:01:39 +02:00
parent 60f69be354
commit 4ed3cbc787

View File

@ -355,12 +355,12 @@ if __name__ == "__main__":
'{}://{}/uds/rest/client'.format(['http', 'https'][ssl], host), sslError '{}://{}/uds/rest/client'.format(['http', 'https'][ssl], host), sslError
) )
try: # try:
if platform.mac_ver()[2] == 'arm64': # if platform.mac_ver()[2] == 'arm64':
minimal(api, ticket, scrambler) # minimal(api, ticket, scrambler)
sys.exit(0) # sys.exit(0)
except Exception: # except Exception:
pass # Ignore check (should not be any problem) # pass # Ignore check (should not be any problem)
try: try:
logger.debug('Starting execution') logger.debug('Starting execution')