1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00
This commit is contained in:
Steffo 2017-01-22 23:28:44 +01:00
parent 8f6740fcaf
commit 4e9bbd1b86

View file

@ -74,7 +74,7 @@ def url_to_medal(rank: str):
raise NotFoundException("The medal does not exist.") raise NotFoundException("The medal does not exist.")
def format_rankchange(rankchange: int): def format_rankchange(rankchange: int):
if rankchange < 0: if rankchange > 0:
return "+" + str(rankchange) return "+" + str(rankchange)
else: else:
return str(rankchange) return str(rankchange)