diff --git a/pyproject.toml b/pyproject.toml index 4f84bdd..c76bcb7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "kcare-qualys" -version = "0.1.10" +version = "0.1.11" description = "The script marks vulnerabilities detected by Qualys, but patched by KernelCare as exceptions" authors = ["Rinat Sabitov "] license = "Apache-2.0" diff --git a/src/kcare_qualys.py b/src/kcare_qualys.py index 41c90fe..dc9197c 100644 --- a/src/kcare_qualys.py +++ b/src/kcare_qualys.py @@ -212,7 +212,7 @@ def patch(args, qgc, keys): quoting=csv.QUOTE_NONNUMERIC) orig_fd, orig = tempfile.mkstemp(prefix='kcare-qualys-', suffix='.csv') - with open(orig_fd, 'w', newline='\r\n') as orig_file: + with open(orig_fd, 'w', newline='') as orig_file: reader = csv.reader(files_input, dialect='qualys') writer = csv.writer(orig_file, dialect='qualys')