diff options
author | Remco Burema <41987080+rburema@users.noreply.github.com> | 2020-11-03 18:12:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-03 18:12:50 +0300 |
commit | 0c7e31ece5e72d3433b7e108789e44307b2ccafc (patch) | |
tree | 8a9d6905c6938b045847b4a619e0fd12751fdc44 /plugins/SliceInfoPlugin | |
parent | 4866127e502eca7cf30599c111d1b37784408e35 (diff) |
More readable.
Co-authored-by: Jaime van Kessel <nallath@gmail.com>
Diffstat (limited to 'plugins/SliceInfoPlugin')
-rwxr-xr-x | plugins/SliceInfoPlugin/SliceInfo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SliceInfoPlugin/SliceInfo.py b/plugins/SliceInfoPlugin/SliceInfo.py index 0e431b77d8..6eed649cc7 100755 --- a/plugins/SliceInfoPlugin/SliceInfo.py +++ b/plugins/SliceInfoPlugin/SliceInfo.py @@ -126,7 +126,7 @@ class SliceInfo(QObject, Extension): data["cura_version"] = self._application.getVersion() data["cura_build_type"] = ApplicationMetadata.CuraBuildType org_id = user_profile.get("organization_id", None) if user_profile else None - data["organization_id"] = org_id if len(org_id) > 0 else None + data["organization_id"] = org_id if org_id else None data["subscriptions"] = user_profile.get("subscriptions", []) if user_profile else [] active_mode = self._application.getPreferences().getValue("cura/active_mode") |