Skip to content

Commit

Permalink
Merge pull request #522 from Pennyw0rth/neff-fix-514
Browse files Browse the repository at this point in the history
  • Loading branch information
NeffIsBack authored Dec 26, 2024
2 parents 14c2959 + c0e618f commit 32b20cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nxc/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ def parse_credentials(self):
if isfile(user):
with open(user) as user_file:
for line in user_file:
if "\\" in line:
if "\\" in line and len(line.split("\\")) == 2:
domain_single, username_single = line.split("\\")
else:
domain_single = self.args.domain if hasattr(self.args, "domain") and self.args.domain else self.domain
Expand Down

0 comments on commit 32b20cd

Please sign in to comment.