Skip to content

Commit

Permalink
Merge branch 'kevoreilly:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
dsecuma authored Sep 30, 2024
2 parents 3244cd2 + 839dc8b commit 5a5e0df
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions analyzer/windows/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,9 @@ def run(self):
mod_name = name.split(".")[-1]
if mod_name in windows_modules:
mod_name += "_windows"
# if hasattr(self.config, mod_name) and getattr(self.config, mod_name, False):
# log.debug('Imported auxiliary module "%s"', name)
if hasattr(self.config, mod_name) and getattr(self.config, mod_name, False):
__import__(name, globals(), locals(), ["dummy"])
log.debug('Imported auxiliary module "%s"', name)
except ImportError as e:
log.warning('Unable to import the auxiliary module "%s": %s', name, e)

Expand Down

0 comments on commit 5a5e0df

Please sign in to comment.