diff --git a/salt/strelka/filecheck/filecheck b/salt/strelka/filecheck/filecheck index 73f24c7aa..146625552 100644 --- a/salt/strelka/filecheck/filecheck +++ b/salt/strelka/filecheck/filecheck @@ -47,7 +47,7 @@ def checkexisting(): logging.error("Failed to process file: " + file) def checksum(filename): - if os.path.isfile(filename) && "/tmp/" not in filename: + if os.path.isfile(filename) and "/tmp/" not in filename: with open(filename, 'rb') as afile: logging.info("Processing file: " + filename) shawnuff = hashlib.sha1()