Skip to content

Commit a610ade

Browse files
Merge pull request Pennyw0rth#887 from Pennyw0rth/issues-881
fix(enum_ca): properly return false if theres an error with fetchList
2 parents d0ea79a + 011fc0d commit a610ade

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

nxc/modules/enum_ca.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def __init__(self, context=None, module_options=None):
3232
self.module_options = module_options
3333

3434
def options(self, context, module_options):
35-
pass
35+
"""No options available"""
3636

3737
def on_login(self, context, connection):
3838
self.__username = connection.username
@@ -80,7 +80,8 @@ def on_login(self, context, connection):
8080
RPC_PROXY_CONN_A1_0X6BA_ERR in error_text:
8181
context.log.fail("This usually means the target does not allow "
8282
"to connect to its epmapper using RpcProxy.")
83-
return
83+
return
84+
8485
for entry in entries:
8586
tmpUUID = str(entry["tower"]["Floors"][0])
8687

0 commit comments

Comments
 (0)