Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2020-04-08 17:32:47 +0300
committerJaime van Kessel <nallath@gmail.com>2020-04-08 17:32:47 +0300
commitf8326d2a6e1a920e94be3e0349c97a5dbc3ac0c1 (patch)
tree2b63e4b03a55e8648f35ab0e9a816be6b3741f23 /cura_app.py
parent3d399672d004c3402a3c1140d2dffdd923f79979 (diff)
Fix setting of sentry_env for betas
Diffstat (limited to 'cura_app.py')
-rwxr-xr-xcura_app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cura_app.py b/cura_app.py
index 33370a1dbe..6c9839e79c 100755
--- a/cura_app.py
+++ b/cura_app.py
@@ -53,7 +53,7 @@ if with_sentry_sdk:
if ApplicationMetadata.CuraVersion == "master":
sentry_env = "development" # Master is always a development version.
- elif ApplicationMetadata.CuraVersion in ["beta", "BETA"]:
+ elif "beta" in ApplicationMetadata.CuraVersion or "BETA" in ApplicationMetadata.CuraVersion:
sentry_env = "beta"
try:
if ApplicationMetadata.CuraVersion.split(".")[2] == "99":