Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
Reindenta argument per resoldre warning de pycodestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
aaguilera authored and alexm committed Feb 17, 2020
1 parent 96eb356 commit d792c0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion soa/identitat.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ def __init__(self):

def get_token(self):
try:
resposta = requests.post(self.url+"/acls/processos",
resposta = requests.post(
self.url+"/acls/processos",
data={'idProces': settings.get("identitat_digital_apikey")})
token = resposta.json()['tokenAcl']
return token
Expand Down

0 comments on commit d792c0e

Please sign in to comment.