mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 10:23:14 +08:00
More readable.
Co-authored-by: Jaime van Kessel <nallath@gmail.com>
This commit is contained in:
parent
4866127e50
commit
0c7e31ece5
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user