We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 14c2959 + c0e618f commit 32b20cdCopy full SHA for 32b20cd
1 file changed
nxc/connection.py
@@ -384,7 +384,7 @@ def parse_credentials(self):
384
if isfile(user):
385
with open(user) as user_file:
386
for line in user_file:
387
- if "\\" in line:
+ if "\\" in line and len(line.split("\\")) == 2:
388
domain_single, username_single = line.split("\\")
389
else:
390
domain_single = self.args.domain if hasattr(self.args, "domain") and self.args.domain else self.domain
0 commit comments