diff --git a/pypresence/utils.py b/pypresence/utils.py index 31e00a8..f5cee5d 100644 --- a/pypresence/utils.py +++ b/pypresence/utils.py @@ -18,6 +18,8 @@ def remove_none(d: dict): del d[item] elif d[item] is None: del d[item] + elif not len(d[item]): + del d[item] return d