FileStore.py uses incorrect GetFilesBySHA1 usage
Closed this issue · 2 comments
jduck commented
It only passes the sha1, but the API requires 7 params.
jduck commented
diff --git a/Src/Bin Collector/FileStore.py b/Src/Bin Collector/FileStore.py index cb7d434..c76afda 100644 --- a/Src/Bin Collector/FileStore.py +++ b/Src/Bin Collector/FileStore.py @@ -139,7 +139,7 @@ class FileProcessor: target_dirname = os.getcwd() target_relative_filename = os.path.join( target_relative_directory, os.path.basename( current_path ) ) - files = self.Database.GetFileBySHA1( sha1 ) + files = self.Database.GetFileBySHA1( sha1, None,None,None,None,None ) if not files or len(files) == 0 or overwrite_mode: if self.DebugLevel > 2:
ohjeongwook commented
Closing this as the change has been applied.
And new DarunGrim has integrated whole changes to new GUI based file collector.