From fcb1f2ec31746e500923bd558b7648ed17cec663 Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Wed, 5 May 2021 10:04:46 +0100 Subject: [PATCH] Fix an issue when attempting to detect an existing AVD image Fixes #286. --- src/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.py b/src/app.py index c1f8e50..767ac86 100644 --- a/src/app.py +++ b/src/app.py @@ -56,7 +56,7 @@ def is_initialized(device_name) -> bool: if os.path.exists(config_path): logger.info('Found existing config file at {}.'.format(config_path)) with open(config_path, 'r') as f: - if any('hw.device.name={}'.format(device_name) in line for line in f): + if any('hw.device.name = {}'.format(device_name) in line for line in f): logger.info('Existing config file references {}. Assuming device was previously initialized.'.format(device_name)) return True else: