import.py: Dont check for users existence while just sanitizing.

This ends the context of commit b4bb45ef85
and 108492db3f with an awesome little
detail, which provides SO MUCH value.
dev
Darksider3 4 years ago
parent 108492db3f
commit e2c2bcb0c2

@ -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…
Cancel
Save