GranularFireplace commited on
Commit
80f734e
·
verified ·
1 Parent(s): 635aebb

Disable preprocessing

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -107,8 +107,8 @@ def preprocess_yara_rules(repo_path: Path) -> Path:
107
  def compile_yara_rules(repo_path: Path) -> Optional[yara.Rules]:
108
  """Compile YARA rules from repository with error handling"""
109
  try:
110
- processed_dir = preprocess_yara_rules(repo_path)
111
- yara_files = list(processed_dir.glob("**/*.yara"))
112
 
113
  if not yara_files:
114
  logger.warning("No YARA files found in repository")
 
107
  def compile_yara_rules(repo_path: Path) -> Optional[yara.Rules]:
108
  """Compile YARA rules from repository with error handling"""
109
  try:
110
+ # processed_dir = preprocess_yara_rules(repo_path)
111
+ yara_files = list(repo_path.glob("**/*.yara"))
112
 
113
  if not yara_files:
114
  logger.warning("No YARA files found in repository")