Skip to content

Commit 643519d

Browse files
committed
ruff fixed f-string without any placeholders
1 parent c904f3a commit 643519d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/protocols/ldap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ def check_if_admin(self):
591591
if str(attribute["type"]) == "distinguishedName":
592592
answers.append(str("(memberOf:1.2.840.113556.1.4.1941:=" + attribute["vals"][0] + ")"))
593593
if len(answers) == 0:
594-
self.logger.debug(f"No groups with default privileged RID were found. Assuming user is not a Domain Administrator.")
594+
self.logger.debug("No groups with default privileged RID were found. Assuming user is not a Domain Administrator.")
595595
return
596596

597597
# 3. get member of these groups

0 commit comments

Comments
 (0)