Fix a bug in the options checker which tried to call util._is_file().
parent
b23812d14c
commit
6b6ea0e9d1
|
@ -397,7 +397,7 @@ def _sanitise(*args):
|
|||
if flag in ['--encrypt', '--encrypt-files', '--decrypt',
|
||||
'--decrypt-file', '--import', '--verify']:
|
||||
## Place checks here:
|
||||
if _is_file(val):
|
||||
if util._is_file(val):
|
||||
safe_option += (val + " ")
|
||||
else:
|
||||
logger.debug("_check_option(): %s not file: %s"
|
||||
|
|
Loading…
Reference in New Issue