actually use f string

Contributes to CURA-11482
This commit is contained in:
Jelle Spijker 2024-01-10 05:39:59 +01:00
parent 30708a4b2c
commit b3825ee1c7
No known key found for this signature in database
GPG key ID: 034D1C0527888B65

View file

@ -337,7 +337,7 @@ class StartSliceJob(Job):
user_id = uuid.getnode() # On all of Cura's supported platforms, this returns the MAC address which is pseudonymical information (!= anonymous).
user_id %= 2 ** 16 # So to make it anonymous, apply a bitmask selecting only the last 16 bits. This prevents it from being traceable to a specific user but still gives somewhat of an idea of whether it's just the same user hitting the same crash over and over again, or if it's widespread.
self._slice_message.sentry_id = "{user_id}"
self._slice_message.sentry_id = f"{user_id}"
self._slice_message.cura_version = CuraVersion
# Build messages for extruder stacks