Skip to content

Commit

Permalink
fix: Fix comparison to None
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamb authored and barthalion committed Aug 28, 2024
1 parent a592363 commit e2dc490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flat-manager-client
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ async def commit_build(session, build_url, eol, eol_rebase, token_type, wait, to
"endoflife": eol,
"endoflife_rebase": eol_rebase
}
if token_type != None:
if token_type is not None:
json['token_type'] = token_type
resp = await session.post(build_url + "/commit", headers={'Authorization': 'Bearer ' + token}, json=json)
async with resp:
Expand Down

0 comments on commit e2dc490

Please sign in to comment.