From e12117fba889b4b65458b82119a4720c4e807d96 Mon Sep 17 00:00:00 2001 From: ProfessionalUwU Date: Tue, 27 Jun 2023 23:12:50 +0200 Subject: [PATCH] Small fix --- src/Chksum/chksum.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Chksum/chksum.cs b/src/Chksum/chksum.cs index 647f146..0e6cdc8 100644 --- a/src/Chksum/chksum.cs +++ b/src/Chksum/chksum.cs @@ -112,7 +112,7 @@ public class ChksumUtils { string absolutePathToFile = file.Key; string fileName = Path.GetFileName(absolutePathToFile); string pathToFile = Path.GetRelativePath(DatabaseRoot, absolutePathToFile); - string fileHash = ""; + string fileHash = file.Value; if (checkIfFileMovedAndUpdatePathToFile(fileHash, fileName, pathToFile) == false && checkIfFileAlreadyExistsInDatabase(fileHash, fileName) == false) { connection.Open();