Skip to content

Commit cc07d2e

Browse files
committed
Fix old pythons
1 parent 195ccbe commit cc07d2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pyorderly/outpack/location_packit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def packit_authorisation(url: str, token: Optional[str]) -> Dict[str, str]:
185185
response = client.post("packit/api/auth/login/api", json={"token": token})
186186

187187
print("Logged in successfully")
188-
return {"Authorization": f"Bearer {response.json()["token"]}"}
188+
return {"Authorization": f"Bearer {response.json()['token']}"}
189189

190190

191191
def outpack_location_packit(

0 commit comments

Comments
 (0)