Switch an stderr message to logger.

This commit is contained in:
Gregor Robinson 2013-07-10 20:29:07 +01:00
parent 718de832ab
commit e8fa5aaefe
1 changed files with 2 additions and 2 deletions

View File

@ -236,8 +236,8 @@ def reloadMyAddressHashes():
myAddressesByHash[hash] = addressInKeysFile
else:
sys.stderr.write('Error in reloadMyAddressHashes: Can\'t handle address '
'versions other than 2 or 3.\n')
logger.error('Error in reloadMyAddressHashes: Can\'t handle address '
'versions other than 2 or 3.\n')
if not keyfileSecure:
fixSensitiveFilePermissions(appdata + 'keys.dat', hasEnabledKeys)