From 6af7554b7ce364d40ffbe05cd6c1ec282ae59815 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 19 Jun 2020 18:16:50 +0200 Subject: [PATCH] publish: 5.8.22 --- pyproject.toml | 2 +- royalpack/stars/api_user_get_ryg.py | 2 +- royalpack/version.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 99e47c53..f75f6d8e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ [tool.poetry] name = "royalpack" - version = "5.8.20" + version = "5.8.22" description = "A Royalnet command pack for the Royal Games community" authors = ["Stefano Pigozzi "] license = "AGPL-3.0+" diff --git a/royalpack/stars/api_user_get_ryg.py b/royalpack/stars/api_user_get_ryg.py index 235d8210..ef5350de 100644 --- a/royalpack/stars/api_user_get_ryg.py +++ b/royalpack/stars/api_user_get_ryg.py @@ -29,7 +29,7 @@ class ApiUserGetRygStar(rca.ApiStar): raise rca.NotFoundError("No such user.") result = { **user.json(), - "bio": user.bio.json(), + "bio": user.bio.json() if user.bio is not None else None, "fiorygi": user.fiorygi.fiorygi if user.fiorygi is not None else None, "steam": [steam.json() for steam in user.steam], "leagueoflegends": [leagueoflegends.json() for leagueoflegends in user.leagueoflegends], diff --git a/royalpack/version.py b/royalpack/version.py index 0cf3cb22..3ad08f3f 100644 --- a/royalpack/version.py +++ b/royalpack/version.py @@ -1 +1 @@ -semantic = "5.8.20" +semantic = "5.8.22"