Merge branch 'RichieB2B-ncsc-nl/stix_md5_hash' into hotfix-2.3.41

pull/400/head
iglocska 2015-01-27 11:05:59 +01:00
commit 0dd4304719
1 changed files with 2 additions and 2 deletions

View File

@ -66,8 +66,8 @@ def generateFileObservable(filenameValue, hashValue):
file_object.file_name = ntpath.basename(filenameValue)
else:
file_object.file_name = filenameValue
if (hashValue != ""):
file_object.add_hash(Hash(hashValue))
if (hashValue != ""):
file_object.add_hash(Hash(hashValue))
return file_object
def generateIPObservable(attribute):