Skip to content

Commit

Permalink
test pylint WF
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeggiCH committed Oct 22, 2023
1 parent 4215d9d commit 4d83cc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ImportSchweizmobil.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ def Import_Schweizmobil():
try:
#login
response = session.post(pre+'4/login',data=creds)

rst=response.status_code
ErrC=response.json()['loginErrorCode']

if (rst!=200 or ErrC!=200):
raise Exception (f"Authentication failed; ({rst}/{ErrC})")

# fetch the list of tracks
# fetch the list of tracks
response = session.get(pre+'5/tracks')
if (debug>1): print ("Tracks API call ",response.status_code)

Expand Down

0 comments on commit 4d83cc1

Please sign in to comment.