mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #999564 (calibre show username/password as clear text in logs)
This commit is contained in:
parent
d9b93800a5
commit
8eebae3bf5
@ -889,7 +889,10 @@ OptionRecommendation(name='search_replace',
|
||||
self.log.debug('Resolved conversion options')
|
||||
try:
|
||||
self.log.debug('calibre version:', __version__)
|
||||
self.log.debug(pprint.pformat(self.opts.__dict__))
|
||||
odict = dict(self.opts.__dict__)
|
||||
for x in ('username', 'password'):
|
||||
odict.pop(x, None)
|
||||
self.log.debug(pprint.pformat(odict))
|
||||
except:
|
||||
self.log.exception('Failed to get resolved conversion options')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user