Prevent useless debug folders
This commit is contained in:
parent
c15a195ea1
commit
9dc9157062
2 changed files with 2 additions and 3 deletions
|
|
@ -119,6 +119,8 @@ class VirtKeyboard(object):
|
|||
try:
|
||||
self.get_symbol_code(symbols[s])
|
||||
except VirtKeyboardError:
|
||||
if dirname is None:
|
||||
dirname = tempfile.mkdtemp(prefix='weboob_session_')
|
||||
self.generate_MD5(dirname)
|
||||
raise VirtKeyboardError("Symbol '%s' not found; all symbol hashes are available in %s"\
|
||||
% (s, dirname))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue