We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92e4933 commit 90ff178Copy full SHA for 90ff178
src/app.py
@@ -56,7 +56,7 @@ def is_initialized(device_name) -> bool:
56
if os.path.exists(config_path):
57
logger.info('Found existing config file at {}.'.format(config_path))
58
with open(config_path, 'r') as f:
59
- 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):
60
logger.info('Existing config file references {}. Assuming device was previously initialized.'.format(device_name))
61
return True
62
else:
0 commit comments