Skip to content

Commit

Permalink
fix: TypeError: can only concatenate str (not "int") to str
Browse files Browse the repository at this point in the history
  • Loading branch information
THEGOLDENPRO committed Sep 12, 2024
1 parent 1f2ee8f commit 578526f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osaker/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def __parse_inspect(self, tokens: List[Token], index: int):
literal_representation = Colours.ORANGE.apply(f'"{ayumu_object.value}"')

if osaka_type == OsakaType.CHIYO:
literal_representation = Colours.BLUE.apply(ayumu_object.value)
literal_representation = Colours.BLUE.apply(str(ayumu_object.value))

print(
">>", f"{Colours.BLUE.apply(name_token.value)} <-- {literal_representation} ~{Colours.CLAY.apply(osaka_type.name.lower())}"
Expand Down

0 comments on commit 578526f

Please sign in to comment.