From f6bf21c185390340ca98a0462fb3a0512bd1761d Mon Sep 17 00:00:00 2001 From: Remco Burema Date: Fri, 16 Oct 2020 13:00:12 +0200 Subject: [PATCH] Send None instead of '' if no organisation. part of CURA-7717 --- plugins/SliceInfoPlugin/SliceInfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/SliceInfoPlugin/SliceInfo.py b/plugins/SliceInfoPlugin/SliceInfo.py index 0939a38664..61fc777290 100755 --- a/plugins/SliceInfoPlugin/SliceInfo.py +++ b/plugins/SliceInfoPlugin/SliceInfo.py @@ -125,7 +125,7 @@ class SliceInfo(QObject, Extension): data["schema_version"] = 0 data["cura_version"] = self._application.getVersion() data["cura_build_type"] = ApplicationMetadata.CuraBuildType - data["organization_id"] = user_profile.get("organization_id", "") if user_profile else "" + data["organization_id"] = user_profile.get("organization_id", None) if user_profile else None data["subscriptions"] = user_profile.get("subscriptions", []) if user_profile else [] active_mode = self._application.getPreferences().getValue("cura/active_mode")