From e2c2bcb0c20d36d37ca295a493e6ddff8499a528 Mon Sep 17 00:00:00 2001 From: Darksider3 Date: Sat, 30 May 2020 16:50:49 +0200 Subject: [PATCH] import.py: Dont check for users existence while just sanitizing. This ends the context of commit b4bb45ef851edf7e942a4d63f615fce8f12c4265 and 108492db3fe7c34eb1f3c0c77d24be571e42636b with an awesome little detail, which provides SO MUCH value. --- private/import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/private/import.py b/private/import.py index 634132a..b626a50 100755 --- a/private/import.py +++ b/private/import.py @@ -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: