We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29329bf commit 821741aCopy full SHA for 821741a
1 file changed
nxc/modules/notepad++.py
@@ -21,7 +21,7 @@ def options(self, context, module_options):
21
def on_admin_login(self, context, connection):
22
found = 0
23
for directory in connection.conn.listPath("C$", "Users\\*"):
24
- if directory.get_longname() not in self.false_positive and directory.is_directory() > 0:
+ if directory.get_longname() not in self.false_positive and directory.is_directory():
25
try:
26
notepad_backup_dir = f"Users\\{directory.get_longname()}\\AppData\\Roaming\\Notepad++\\backup\\"
27
for file in connection.conn.listPath("C$", f"{notepad_backup_dir}\\*"):
0 commit comments