mirror of
https://github.com/nmap/nmap.git
synced 2026-08-27 03:48:14 +00:00
Fix typo when self.root is not None.
This commit is contained in:
parent
322ed971a2
commit
df516bc398
1 changed files with 1 additions and 1 deletions
|
|
@ -314,7 +314,7 @@ for dir in dirs:
|
|||
# must strip it off if necessary.
|
||||
modules_dir = self.install_lib
|
||||
if self.root is not None:
|
||||
modules_dir = path_strip_prefix(modules, self.root)
|
||||
modules_dir = path_strip_prefix(modules_dir, self.root)
|
||||
|
||||
app_file = open(app_file_name, "r")
|
||||
lines = app_file.readlines()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue