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

Remove preprocess

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -116,8 +116,8 @@ def preprocess_yara_rules(repo_path: Path) -> Path:
116
  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(processed_dir.glob("**/*.yar"))
121
 
122
  if not yara_files:
123
  logger.warning("No valid YARA files after preprocessing")
 
116
  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")