Skip to content
Snippets Groups Projects
Commit aeb69437 authored by Geneviève Boucher's avatar Geneviève Boucher
Browse files

Fixing typo

parent 0f2273d2
Branches master
No related tags found
1 merge request!18Resolve "Modify the command line to use the personal authentication token"
......@@ -32,7 +32,7 @@ class Client:
url='https://thepond.bioinfo.iric.ca'):
self.url = url
self.user = username
self.pwd = password
self.pwd = password
self.token = token
if self.token is None and self.pwd is None:
......@@ -42,7 +42,7 @@ class Client:
if self.token is not None:
if self.pwd is not None:
sys.stderr.write('WARNING: Amiguous authentification, ignoring ' +
sys.stderr.write('WARNING: Ambiguous authentification, ignoring ' +
'password in favor of PAT\n')
self.token = self.token.strip()
session.headers.update({'Iric-Auth-Token': F'{self.token}'})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment