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

Commit

Permalink
Ruff is stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskDuck committed Jun 2, 2024
1 parent 80bad40 commit b531c95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _orangcbot/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async def on_application_command_error(


def convert_none_to_0(key: Optional[ConvertibleToInt] = None) -> int:
if key == None:
if key is None:
return 0
else:
return int(key)
Expand Down

0 comments on commit b531c95

Please sign in to comment.