Skip to content

Commit 4b58ae9

Browse files
Fix issue with yara_data not existing (#163)
1 parent 43b230f commit 4b58ae9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/python/bin/strelka-backend

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,7 @@ class Backend(object):
497497
yara_load_took_ms = 0
498498
yara_rule_count = 0
499499
yara_cache_key = self.coordinator.get(f'yara_cache_key:{root_id}')
500+
yara_data = None
500501
if yara_cache_key:
501502
yara_cache_key = yara_cache_key.decode()
502503
yara_data = self.coordinator.get(f'yara:compiled_all:{yara_cache_key}')

0 commit comments

Comments
 (0)