mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
More readable.
Co-authored-by: Jaime van Kessel <nallath@gmail.com>
This commit is contained in:
parent
4866127e50
commit
0c7e31ece5
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ class SliceInfo(QObject, Extension):
|
||||||
data["cura_version"] = self._application.getVersion()
|
data["cura_version"] = self._application.getVersion()
|
||||||
data["cura_build_type"] = ApplicationMetadata.CuraBuildType
|
data["cura_build_type"] = ApplicationMetadata.CuraBuildType
|
||||||
org_id = user_profile.get("organization_id", None) if user_profile else None
|
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 []
|
data["subscriptions"] = user_profile.get("subscriptions", []) if user_profile else []
|
||||||
|
|
||||||
active_mode = self._application.getPreferences().getValue("cura/active_mode")
|
active_mode = self._application.getPreferences().getValue("cura/active_mode")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue