Skip to content

Commit

Permalink
Fixed F821 undefined name 'err'
Browse files Browse the repository at this point in the history
  • Loading branch information
p0dalirius committed Jun 2, 2024
1 parent c0eb136 commit caea1f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smbclientng/core/SMBSession.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def init_smb_session(self):
aesKey=self.aesKey,
kdcHost=self.kdcHost
)
except impacket.smbconnection.SessionError as e:
except impacket.smbconnection.SessionError as err:
if self.config.debug:
traceback.print_exc()
print("[!] Could not login: %s" % err)
Expand Down

0 comments on commit caea1f9

Please sign in to comment.