no need to check debug mode before logging

This commit is contained in:
Alan Hamlett 2016-03-11 09:23:08 -08:00
parent 050b14fb53
commit c64f125dc4

View File

@ -256,7 +256,6 @@ def find_python_from_registry(location, reg=None):
sub_key=sub_key,
))
except WindowsError:
if SETTINGS.get('debug'):
log(DEBUG, 'Could not read registry value "{reg}\\{key}".'.format(
reg=reg,
key=location,