Skip to content

Commit 7c95169

Browse files
committed
Linting
1 parent 57b29bc commit 7c95169

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/protocols/smb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ def shares(self):
840840
temp_dir = ntpath.normpath("\\" + gen_random_string())
841841
temp_file = ntpath.normpath("\\" + gen_random_string() + ".txt")
842842
permissions = []
843-
write_check = True if not self.args.no_write_check else False
843+
write_check = bool(not self.args.no_write_check)
844844

845845
try:
846846
self.logger.debug(f"domain: {self.domain}")

0 commit comments

Comments
 (0)