no need to check debug mode before logging
This commit is contained in:
parent
050b14fb53
commit
c64f125dc4
1 changed files with 4 additions and 5 deletions
|
@ -256,7 +256,6 @@ def find_python_from_registry(location, reg=None):
|
||||||
sub_key=sub_key,
|
sub_key=sub_key,
|
||||||
))
|
))
|
||||||
except WindowsError:
|
except WindowsError:
|
||||||
if SETTINGS.get('debug'):
|
|
||||||
log(DEBUG, 'Could not read registry value "{reg}\\{key}".'.format(
|
log(DEBUG, 'Could not read registry value "{reg}\\{key}".'.format(
|
||||||
reg=reg,
|
reg=reg,
|
||||||
key=location,
|
key=location,
|
||||||
|
|
Loading…
Reference in a new issue