forked from tilde/ssh-reg
import.py: Dont check for users existence while just sanitizing.
This ends the context of commitb4bb45ef85
and108492db3f
with an awesome little detail, which provides SO MUCH value.
This commit is contained in:
parent
108492db3f
commit
e2c2bcb0c2
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ if __name__ == "__main__":
|
|||
if not os.path.isfile(args.file):
|
||||
print(f"File {args.file} doesnt exist")
|
||||
exit(1)
|
||||
sanitized = lib.Validator.checkImportFile(args.file, config['DEFAULT']['applications_db'])
|
||||
sanitized = lib.Validator.checkImportFile(args.file, config['DEFAULT']['applications_db'], False)
|
||||
if sanitized is not True:
|
||||
print(sanitized)
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue