Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
NeffIsBack committed Dec 30, 2024
1 parent 57b29bc commit 7c95169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nxc/protocols/smb.py
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ def shares(self):
temp_dir = ntpath.normpath("\\" + gen_random_string())
temp_file = ntpath.normpath("\\" + gen_random_string() + ".txt")
permissions = []
write_check = True if not self.args.no_write_check else False
write_check = bool(not self.args.no_write_check)

try:
self.logger.debug(f"domain: {self.domain}")
Expand Down

0 comments on commit 7c95169

Please sign in to comment.