We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57b29bc commit 7c95169Copy full SHA for 7c95169
1 file changed
nxc/protocols/smb.py
@@ -840,7 +840,7 @@ def shares(self):
840
temp_dir = ntpath.normpath("\\" + gen_random_string())
841
temp_file = ntpath.normpath("\\" + gen_random_string() + ".txt")
842
permissions = []
843
- write_check = True if not self.args.no_write_check else False
+ write_check = bool(not self.args.no_write_check)
844
845
try:
846
self.logger.debug(f"domain: {self.domain}")
0 commit comments