Skip to content

Commit

Permalink
fix: remove extra Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Marshall-Hallenbeck committed Oct 12, 2023
1 parent 33d2dc2 commit 3533350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nxc/protocols/ldap.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def enum_host_info(self):
try:
# DC's seem to want us to logoff first, windows workstations sometimes reset the connection
self.conn.logoff()
except Exception Exception:
except Exception:
pass

if self.args.domain:
Expand Down

0 comments on commit 3533350

Please sign in to comment.