GranularFireplace commited on
Commit
a7c3338
·
verified ·
1 Parent(s): 08df23c

Allow .yara files

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -117,7 +117,7 @@ def compile_yara_rules(repo_path: Path) -> Optional[yara.Rules]:
117
  """Compile YARA rules from repository with error handling"""
118
  try:
119
  # processed_dir = preprocess_yara_rules(repo_path)
120
- yara_files = list(repo_path.glob("**/*.yar"))
121
 
122
  if not yara_files:
123
  logger.warning("No valid YARA files after preprocessing")
 
117
  """Compile YARA rules from repository with error handling"""
118
  try:
119
  # processed_dir = preprocess_yara_rules(repo_path)
120
+ yara_files = list(repo_path.glob("**/*.yara"))
121
 
122
  if not yara_files:
123
  logger.warning("No valid YARA files after preprocessing")