some newlines and a todo note

This commit is contained in:
NichtJens
2021-06-01 09:05:28 +02:00
parent c32aa34bf4
commit 84d404ba02
3 changed files with 2 additions and 2 deletions

View File

@ -3,3 +3,4 @@ from .scicat import SciCat
from .scilog import SciLog from .scilog import SciLog
from .snippet import Basesnippet, Paragraph from .snippet import Basesnippet, Paragraph

View File

@ -42,7 +42,6 @@ class AuthMixin(ABC):
password = getpass.getpass(prompt=f"{tn} password for {username}: ") password = getpass.getpass(prompt=f"{tn} password for {username}: ")
token = self.authenticate(username, password) token = self.authenticate(username, password)
self.config[username] = self._token = token self.config[username] = self._token = token
return token return token

View File

@ -22,7 +22,7 @@ class SciCat(AuthMixin):
@property @property
def proposals(self): def proposals(self):
url = self.address + "/proposals" url = self.address + "/proposals"
headers = self.auth_headers headers = self.auth_headers #TODO
return get_request(url, headers=headers) return get_request(url, headers=headers)